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.001292/0.001292, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001412/0.001412, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 8.102 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 3.217/3.217, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.002085/0.002085, allocations: 74.86 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005511/0.4108, allocations: 3.861 MB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009365/0.4201, allocations: 6.484 MB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.4206, allocations: 27.88 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00541/0.426, allocations: 2.067 MB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.4273, allocations: 0.6066 MB / 1.34 GB, free: 4.387 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-05/0.4273, allocations: 4 kB / 1.34 GB, free: 4.383 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0328/0.4601, allocations: 22.5 MB / 1.362 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.4603, allocations: 46.59 kB / 1.362 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.4615, allocations: 0.5719 MB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.4623, allocations: 0.6531 MB / 1.363 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.4625, allocations: 32 kB / 1.363 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.4626, allocations: 32 kB / 1.363 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.4633, allocations: 0.7514 MB / 1.364 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008363/0.4641, allocations: 0.8387 MB / 1.365 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.4663, allocations: 2.131 MB / 1.367 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4663, allocations: 0 / 1.367 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4663, allocations: 3.938 kB / 1.367 GB, free: 8.766 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.4663, allocations: 0 / 1.367 GB, free: 8.766 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.003418/0.4698, allocations: 2.183 MB / 1.369 GB, free: 6.539 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4698, allocations: 12.03 kB / 1.369 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.4701, allocations: 293.8 kB / 1.369 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.4738, allocations: 2.411 MB / 1.372 GB, free: 3.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.4739, allocations: 158.5 kB / 1.372 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.4739, allocations: 154.6 kB / 1.372 GB, free: 3.441 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.775e-05/0.474, allocations: 105 kB / 1.372 GB, free: 3.332 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.4741, allocations: 75.28 kB / 1.372 GB, free: 3.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.4741, allocations: 150.6 kB / 1.372 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.4742, allocations: 158.5 kB / 1.372 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.4743, allocations: 154.6 kB / 1.372 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4754, allocations: 1.115 MB / 1.374 GB, free: 1.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4755, allocations: 165.1 kB / 1.374 GB, free: 1.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.4756, allocations: 80.14 kB / 1.374 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.4756, allocations: 87.2 kB / 1.374 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.4757, allocations: 109.8 kB / 1.374 GB, free: 1.188 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4757, allocations: 0 / 1.374 GB, free: 1.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.000272/0.4759, allocations: 248.1 kB / 1.374 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.476, allocations: 126.7 kB / 1.374 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.4798, allocations: 2.852 MB / 1.377 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4798, allocations: 33.64 kB / 1.377 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/0.4808, allocations: 0.9028 MB / 1.378 GB, free: 12.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.4808, allocations: 0 / 1.378 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.4808, allocations: 17.72 kB / 1.378 GB, free: 12.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4809, allocations: 306 kB / 1.378 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.4809, allocations: 0 / 1.378 GB, free: 12.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.4809, allocations: 0 / 1.378 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.481, allocations: 75.28 kB / 1.378 GB, free: 12.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-05/0.481, allocations: 75.28 kB / 1.378 GB, free: 12.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002681/0.4813, allocations: 248.2 kB / 1.379 GB, free: 12.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.4813, allocations: 87.27 kB / 1.379 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.4814, allocations: 75.28 kB / 1.379 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.022e-05/0.4814, allocations: 154.5 kB / 1.379 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.4815, allocations: 79.22 kB / 1.379 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.017e-05/0.4815, allocations: 154.6 kB / 1.379 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.482, allocations: 103.2 kB / 1.379 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.4821, allocations: 75.28 kB / 1.379 GB, free: 11.55 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.0009424/0.483, allocations: 0.9456 MB / 1.38 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.4833, allocations: 311.5 kB / 1.381 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.4836, allocations: 353.2 kB / 1.381 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-05/0.4837, allocations: 180.2 kB / 1.381 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-05/0.4838, allocations: 184.2 kB / 1.381 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.941e-05/0.4839, allocations: 176.3 kB / 1.381 GB, free: 9.367 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.485, allocations: 1.056 MB / 1.383 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/0.485, allocations: 104.9 kB / 1.383 GB, free: 8.152 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.4851, allocations: 109 kB / 1.383 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.4851, allocations: 180.2 kB / 1.383 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.4852, allocations: 176.3 kB / 1.383 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.2e-05/0.4853, allocations: 188.1 kB / 1.383 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.877e-05/0.4854, allocations: 184.3 kB / 1.383 GB, free: 7.297 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4857, allocations: 0.5145 MB / 1.384 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.4861, allocations: 303.9 kB / 1.384 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.4864, allocations: 180.2 kB / 1.384 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.4869, allocations: 124.9 kB / 1.384 GB, free: 6.141 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.487, allocations: 192.3 kB / 1.385 GB, free: 5.945 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.487, allocations: 104.9 kB / 1.385 GB, free: 5.836 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002804/0.4898, allocations: 2.091 MB / 1.387 GB, free: 3.738 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4898, allocations: 4 kB / 1.387 GB, free: 3.734 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004779/0.4903, allocations: 176 kB / 1.387 GB, free: 3.562 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.0001541/0.4904, allocations: 174.5 kB / 1.387 GB, free: 3.383 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.113e-05/0.4905, allocations: 0 / 1.387 GB, free: 3.383 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4905, allocations: 0 / 1.387 GB, free: 3.383 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.4905, allocations: 3.938 kB / 1.387 GB, free: 3.379 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/0.4958, allocations: 2.351 MB / 1.389 GB, free: 1.074 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.5009, allocations: 3.686 MB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.5025, allocations: 1.71 MB / 1.395 GB, free: 11.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.5028, allocations: 107.4 kB / 1.395 GB, free: 11.49 MB / 1.092 GB Notification: Performance of SimCode: time 1.242e-06/0.5028, allocations: 0 / 1.395 GB, free: 11.49 MB / 1.092 GB Notification: Performance of Templates: time 0.06001/0.5628, allocations: 40.03 MB / 1.434 GB, free: 4.02 MB / 1.123 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/jenkins1/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: 23.89847788499901]