Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 105.9 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9624, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1134/1.076, allocations: 102.6 MB / 1.189 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0567/1.133, allocations: 32.46 MB / 1.221 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01077/1.143, allocations: 157.4 kB / 1.221 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00818/1.152, allocations: 1.965 MB / 1.223 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.019/1.171, allocations: 4.933 MB / 1.227 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01184/1.183, allocations: 3.836 MB / 1.231 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01844/1.201, allocations: 9.404 MB / 1.24 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/1.212, allocations: 3.505 MB / 1.244 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/1.224, allocations: 4.051 MB / 1.248 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006246/1.23, allocations: 2.976 MB / 1.251 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00197/1.232, allocations: 396 kB / 1.251 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/1.24, allocations: 2.566 MB / 1.254 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002316/1.242, allocations: 1.238 MB / 1.255 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005096/1.247, allocations: 2.254 MB / 1.257 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/1.261, allocations: 6.917 MB / 1.264 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.261, allocations: 4 kB / 1.264 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.261, allocations: 4 kB / 1.264 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002473/1.261, allocations: 0 / 1.264 GB, free: 10.48 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01226/1.273, allocations: 4.801 MB / 1.268 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.273, allocations: 8.031 kB / 1.268 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/1.282, allocations: 1.494 MB / 1.27 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.294, allocations: 4.068 MB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/1.295, allocations: 176.1 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009297/1.296, allocations: 232 kB / 1.274 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00772/1.303, allocations: 2.714 MB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.265e-05/1.303, allocations: 0 / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000496/1.304, allocations: 84 kB / 1.277 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/1.304, allocations: 52 kB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006101/1.31, allocations: 2.1 MB / 1.279 GB, free: 10.48 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/1.332, allocations: 12.54 MB / 1.291 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/1.336, allocations: 1.594 MB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/1.338, allocations: 0.7583 MB / 1.294 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007535/1.346, allocations: 3.72 MB / 1.297 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.346, allocations: 51.55 kB / 1.297 GB, free: 6.629 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/1.346, allocations: 3.938 kB / 1.297 GB, free: 6.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.009875/1.356, allocations: 3.072 MB / 1.3 GB, free: 3.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/1.356, allocations: 64.41 kB / 1.3 GB, free: 3.383 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/1.363, allocations: 3.26 MB / 1.304 GB, free: 108 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004614/1.363, allocations: 61.69 kB / 1.304 GB, free: 40 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.365, allocations: 1.717 MB / 1.305 GB, free: 14.31 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.366, allocations: 362.8 kB / 1.306 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/1.367, allocations: 443.1 kB / 1.306 GB, free: 13.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/1.367, allocations: 309.1 kB / 1.306 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.37, allocations: 1.078 MB / 1.307 GB, free: 12.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/1.373, allocations: 1.721 MB / 1.309 GB, free: 10.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/1.379, allocations: 2.686 MB / 1.312 GB, free: 7.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.379, allocations: 4 kB / 1.312 GB, free: 7.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007793/1.387, allocations: 3.413 MB / 1.315 GB, free: 3.746 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.387, allocations: 12 kB / 1.315 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/1.387, allocations: 16 kB / 1.315 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.388, allocations: 0.5502 MB / 1.316 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.39, allocations: 447.2 kB / 1.316 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/1.392, allocations: 2.588 MB / 1.319 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/1.395, allocations: 273.9 kB / 1.319 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/1.395, allocations: 143.9 kB / 1.319 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003363/1.399, allocations: 1.531 MB / 1.32 GB, free: 14.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00253/1.401, allocations: 1.569 MB / 1.322 GB, free: 12.22 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004376/1.406, allocations: 2.364 MB / 1.324 GB, free: 9.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.58e-05/1.406, allocations: 4 kB / 1.324 GB, free: 9.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.00766/1.413, allocations: 3.128 MB / 1.327 GB, free: 6.469 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.413, allocations: 12 kB / 1.327 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.413, allocations: 23.94 kB / 1.327 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/1.416, allocations: 0.6476 MB / 1.328 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.417, allocations: 423.6 kB / 1.328 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/1.432, allocations: 11.85 MB / 1.34 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.435, allocations: 210.6 kB / 1.34 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004883/1.436, allocations: 120 kB / 1.34 GB, free: 8.512 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008255/1.437, allocations: 291.7 kB / 1.341 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.438, allocations: 339.6 kB / 1.341 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/1.445, allocations: 2.655 MB / 1.343 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/1.445, allocations: 15.94 kB / 1.343 GB, free: 5.184 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.445, allocations: 0 / 1.343 GB, free: 5.184 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.445, allocations: 7.969 kB / 1.343 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.456, allocations: 4.779 MB / 1.348 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.456, allocations: 0 / 1.348 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.458, allocations: 263.6 kB / 1.348 GB, free: 64 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009144/1.459, allocations: 335.1 kB / 1.349 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/1.459, allocations: 47.95 kB / 1.349 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/1.46, allocations: 2.502 MB / 1.351 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.46, allocations: 0 / 1.351 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/1.467, allocations: 2.409 MB / 1.354 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.468, allocations: 0.586 MB / 1.354 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008629/1.469, allocations: 24 kB / 1.354 GB, free: 9.988 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.471, allocations: 107.9 kB / 1.354 GB, free: 9.883 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.472, allocations: 93.06 kB / 1.354 GB, free: 9.789 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.472, allocations: 63.94 kB / 1.354 GB, free: 9.727 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004243/1.476, allocations: 2.183 MB / 1.357 GB, free: 7.535 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.4e-07/1.476, allocations: 4 kB / 1.357 GB, free: 7.531 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00595/1.482, allocations: 1.707 MB / 1.358 GB, free: 5.82 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002/1.484, allocations: 0.737 MB / 1.359 GB, free: 5.086 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.494, allocations: 4.244 MB / 1.363 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.495, allocations: 4 kB / 1.363 GB, free: 0.793 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/1.497, allocations: 0.9366 MB / 1.364 GB, free: 15.86 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007755/1.505, allocations: 1.638 MB / 1.366 GB, free: 14.25 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.517, allocations: 5.878 MB / 1.371 GB, free: 8.34 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.518, allocations: 2.156 MB / 1.373 GB, free: 6.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.519, allocations: 287.3 kB / 1.374 GB, free: 5.879 MB / 1.107 GB Notification: Performance of SimCode: time 8.42e-07/1.519, allocations: 4 kB / 1.374 GB, free: 5.875 MB / 1.107 GB Notification: Performance of Templates: time 0.1419/1.661, allocations: 126.6 MB / 1.497 GB, free: 7.645 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches