Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 218.7 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.977/2.977, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.8 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3944, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005424/0.3998, allocations: 3.855 MB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009101/0.4089, allocations: 6.495 MB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.4093, allocations: 31.81 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004869/0.4142, allocations: 2.06 MB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.4153, allocations: 0.6066 MB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 2.617e-05/0.4153, allocations: 4 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0331/0.4484, allocations: 22.5 MB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.4486, allocations: 46.59 kB / 1.361 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4498, allocations: 0.5719 MB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008568/0.4507, allocations: 0.6531 MB / 1.362 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.4508, allocations: 28 kB / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.4509, allocations: 32 kB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.4516, allocations: 0.7553 MB / 1.363 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008621/0.4525, allocations: 0.831 MB / 1.364 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.4547, allocations: 2.127 MB / 1.366 GB, free: 8.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4547, allocations: 4 kB / 1.366 GB, free: 8.785 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4547, allocations: 0 / 1.366 GB, free: 8.785 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.4548, allocations: 4 kB / 1.366 GB, free: 8.781 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00339/0.4582, allocations: 2.192 MB / 1.368 GB, free: 6.547 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4582, allocations: 8.031 kB / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.4585, allocations: 293.8 kB / 1.368 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.4622, allocations: 2.411 MB / 1.371 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.4623, allocations: 154.6 kB / 1.371 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.4624, allocations: 154.6 kB / 1.371 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4625, allocations: 105 kB / 1.371 GB, free: 3.348 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.4625, allocations: 75.28 kB / 1.371 GB, free: 3.273 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.4626, allocations: 150.6 kB / 1.371 GB, free: 3.125 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/0.4627, allocations: 158.4 kB / 1.372 GB, free: 2.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.4628, allocations: 158.4 kB / 1.372 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.4641, allocations: 1.115 MB / 1.373 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4642, allocations: 165.1 kB / 1.373 GB, free: 1.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.4643, allocations: 84.12 kB / 1.373 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.4643, allocations: 75.28 kB / 1.373 GB, free: 1.324 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/0.4644, allocations: 117.8 kB / 1.373 GB, free: 1.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4644, allocations: 0 / 1.373 GB, free: 1.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0002988/0.4647, allocations: 252.2 kB / 1.373 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.4647, allocations: 126.7 kB / 1.374 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.4686, allocations: 2.852 MB / 1.376 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4686, allocations: 25.7 kB / 1.376 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/0.4695, allocations: 0.9067 MB / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.4695, allocations: 0 / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4696, allocations: 9.719 kB / 1.377 GB, free: 12.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4697, allocations: 306 kB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.4697, allocations: 0 / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.4697, allocations: 0 / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.4698, allocations: 79.22 kB / 1.378 GB, free: 12.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.561e-05/0.4698, allocations: 79.28 kB / 1.378 GB, free: 12.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.00027/0.4701, allocations: 248.2 kB / 1.378 GB, free: 12.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.4702, allocations: 79.28 kB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/0.4702, allocations: 75.28 kB / 1.378 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.4704, allocations: 166.4 kB / 1.378 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.451e-05/0.4704, allocations: 75.28 kB / 1.378 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.665e-05/0.4705, allocations: 154.5 kB / 1.378 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.471, allocations: 95.25 kB / 1.379 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.471, allocations: 75.28 kB / 1.379 GB, free: 11.57 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.4721, allocations: 0.9456 MB / 1.38 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.4724, allocations: 323.5 kB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.4727, allocations: 341.2 kB / 1.38 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.508e-05/0.4728, allocations: 188.1 kB / 1.38 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.838e-05/0.4729, allocations: 184.3 kB / 1.381 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-05/0.473, allocations: 176.3 kB / 1.381 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4741, allocations: 1.06 MB / 1.382 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/0.4742, allocations: 105 kB / 1.382 GB, free: 8.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.4742, allocations: 108.9 kB / 1.382 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.4743, allocations: 180.2 kB / 1.382 GB, free: 7.863 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.4744, allocations: 180.3 kB / 1.382 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.372e-05/0.4745, allocations: 184.1 kB / 1.382 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.709e-05/0.4746, allocations: 180.2 kB / 1.383 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.475, allocations: 0.5184 MB / 1.383 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.4754, allocations: 303.8 kB / 1.383 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.4757, allocations: 180.2 kB / 1.384 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.4762, allocations: 120.9 kB / 1.384 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.4763, allocations: 192.2 kB / 1.384 GB, free: 5.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.4763, allocations: 105 kB / 1.384 GB, free: 5.848 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002979/0.4793, allocations: 2.095 MB / 1.386 GB, free: 3.746 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4793, allocations: 0 / 1.386 GB, free: 3.746 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005441/0.4798, allocations: 176 kB / 1.386 GB, free: 3.574 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.48, allocations: 174.5 kB / 1.386 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.48, allocations: 3.938 kB / 1.386 GB, free: 3.391 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.48, allocations: 0 / 1.386 GB, free: 3.391 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.48, allocations: 0 / 1.386 GB, free: 3.391 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00557/0.4856, allocations: 2.343 MB / 1.389 GB, free: 1.094 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.4905, allocations: 3.522 MB / 1.392 GB, free: 13.53 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.4922, allocations: 1.716 MB / 1.394 GB, free: 11.78 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001503/0.4937, allocations: 439.5 kB / 1.394 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4938, allocations: 107.4 kB / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/0.4938, allocations: 0 / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of Templates: time 0.0829/0.5767, allocations: 49.86 MB / 1.443 GB, free: 10.45 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.451414063107222]