Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 190.4 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.913/2.913, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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_latest_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_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 66.83 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3829, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005242/0.3881, allocations: 3.84 MB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009489/0.3976, allocations: 6.443 MB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.398, allocations: 31.81 kB / 1.326 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005137/0.4031, allocations: 2.06 MB / 1.328 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.4044, allocations: 0.6066 MB / 1.329 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.029e-05/0.4045, allocations: 4 kB / 1.329 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.032/0.4364, allocations: 22.51 MB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.4367, allocations: 42.62 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.4379, allocations: 0.5641 MB / 1.351 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4391, allocations: 0.657 MB / 1.352 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.4394, allocations: 32 kB / 1.352 GB, free: 4.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.4397, allocations: 28 kB / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006794/0.4404, allocations: 0.7592 MB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.4412, allocations: 0.8387 MB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.4434, allocations: 2.116 MB / 1.356 GB, free: 1.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4434, allocations: 4 kB / 1.356 GB, free: 1.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4434, allocations: 0 / 1.356 GB, free: 1.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.4434, allocations: 0 / 1.356 GB, free: 1.078 MB / 1.045 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.003404/0.4468, allocations: 2.194 MB / 1.358 GB, free: 14.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4468, allocations: 8.031 kB / 1.358 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.4471, allocations: 297.8 kB / 1.358 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.4508, allocations: 2.403 MB / 1.36 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.4509, allocations: 154.6 kB / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.4509, allocations: 158.5 kB / 1.361 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.36e-05/0.451, allocations: 101 kB / 1.361 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.4511, allocations: 75.28 kB / 1.361 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.4511, allocations: 158.5 kB / 1.361 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.4512, allocations: 158.4 kB / 1.361 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.4512, allocations: 150.6 kB / 1.361 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.4526, allocations: 1.115 MB / 1.362 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4527, allocations: 169.1 kB / 1.363 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.4528, allocations: 80.14 kB / 1.363 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.587e-05/0.4528, allocations: 79.28 kB / 1.363 GB, free: 9.621 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.4529, allocations: 109.8 kB / 1.363 GB, free: 9.504 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.4529, allocations: 0 / 1.363 GB, free: 9.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003073/0.4532, allocations: 244.2 kB / 1.363 GB, free: 9.258 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.4533, allocations: 130.7 kB / 1.363 GB, free: 9.117 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/0.4572, allocations: 2.859 MB / 1.366 GB, free: 6.246 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4573, allocations: 25.7 kB / 1.366 GB, free: 6.215 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009401/0.4582, allocations: 0.8989 MB / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.4582, allocations: 0 / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.4582, allocations: 13.7 kB / 1.367 GB, free: 5.293 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4584, allocations: 313.9 kB / 1.367 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.4584, allocations: 0 / 1.367 GB, free: 4.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-06/0.4584, allocations: 4 kB / 1.367 GB, free: 4.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.4584, allocations: 79.22 kB / 1.367 GB, free: 4.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.4585, allocations: 75.28 kB / 1.367 GB, free: 4.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002784/0.4587, allocations: 244.2 kB / 1.368 GB, free: 4.578 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4588, allocations: 79.28 kB / 1.368 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/0.4588, allocations: 83.28 kB / 1.368 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.694e-05/0.4589, allocations: 162.4 kB / 1.368 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.459, allocations: 75.28 kB / 1.368 GB, free: 4.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.205e-05/0.459, allocations: 158.5 kB / 1.368 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.4596, allocations: 87.27 kB / 1.368 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.4596, allocations: 83.27 kB / 1.368 GB, free: 3.859 MB / 1.061 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.001072/0.4607, allocations: 0.949 MB / 1.369 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.4609, allocations: 319.5 kB / 1.369 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.4613, allocations: 337.2 kB / 1.37 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.9e-05/0.4614, allocations: 188.1 kB / 1.37 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-05/0.4614, allocations: 184.3 kB / 1.37 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-05/0.4615, allocations: 180.3 kB / 1.37 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4627, allocations: 1.056 MB / 1.371 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.555e-05/0.4627, allocations: 101 kB / 1.371 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.4628, allocations: 108.9 kB / 1.372 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.885e-05/0.4629, allocations: 180.3 kB / 1.372 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.463, allocations: 180.3 kB / 1.372 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.183e-05/0.4631, allocations: 188.1 kB / 1.372 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.848e-05/0.4631, allocations: 176.3 kB / 1.372 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.4635, allocations: 0.5222 MB / 1.373 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.4639, allocations: 295.5 kB / 1.373 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.4642, allocations: 188.6 kB / 1.373 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.4647, allocations: 116.9 kB / 1.373 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4648, allocations: 188.2 kB / 1.373 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.4649, allocations: 101 kB / 1.374 GB, free: 14.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003023/0.4679, allocations: 2.095 MB / 1.376 GB, free: 12.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4679, allocations: 0 / 1.376 GB, free: 12.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005275/0.4684, allocations: 176 kB / 1.376 GB, free: 11.89 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.0001831/0.4686, allocations: 175.1 kB / 1.376 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.4687, allocations: 15.89 kB / 1.376 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4687, allocations: 0 / 1.376 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.4687, allocations: 0 / 1.376 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005537/0.4742, allocations: 2.345 MB / 1.378 GB, free: 9.387 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.4789, allocations: 3.526 MB / 1.382 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.4805, allocations: 1.723 MB / 1.383 GB, free: 4.062 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001666/0.4822, allocations: 431.5 kB / 1.384 GB, free: 3.637 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.4824, allocations: 111.4 kB / 1.384 GB, free: 3.527 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/0.4824, allocations: 0 / 1.384 GB, free: 3.527 MB / 1.076 GB Notification: Performance of Templates: time 0.07828/0.5607, allocations: 49.84 MB / 1.433 GB, free: 2.676 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.355218015611172]