Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.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.002113/0.002113, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002815/0.002815, allocations: 210 kB / 23 MB, free: 4.934 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.37/3.37, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|agePumCon.TSouIn|agePumCon.TSouOut|agePumCon.TSou|agePumCon.TSupDis|agePumCon.TRetDis|agePumCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|agePumCon.TSouIn|agePumCon.TSouOut|agePumCon.TSou|agePumCon.TSupDis|agePumCon.TRetDis|agePumCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") [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.002066/0.002066, allocations: 70.02 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4478, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.007537/0.4553, allocations: 3.538 MB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.461, allocations: 2.052 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.4621, allocations: 19.88 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4633, allocations: 302.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.465, allocations: 358.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4665, allocations: 419.2 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.4686, allocations: 1.105 MB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.4694, allocations: 253.5 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.4702, allocations: 410.3 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.4712, allocations: 414 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.4714, allocations: 84 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.472, allocations: 147.9 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.4724, allocations: 251.1 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.473, allocations: 318 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.475, allocations: 1.229 MB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4751, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4751, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.386e-05/0.4751, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003054/0.4782, allocations: 1.194 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.4782, allocations: 12.03 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.4784, allocations: 104.3 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.4797, allocations: 0.6388 MB / 1.34 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.4797, allocations: 37.38 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.4798, allocations: 51.94 kB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.481, allocations: 0.5608 MB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4811, allocations: 0 / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.4811, allocations: 20 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.4811, allocations: 12 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.4819, allocations: 371.7 kB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.485, allocations: 1.629 MB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.486, allocations: 369.3 kB / 1.342 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.4863, allocations: 160.8 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.4863, allocations: 4 kB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.4869, allocations: 237.5 kB / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.4869, allocations: 0 / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.001447/0.4884, allocations: 0.5446 MB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.4885, allocations: 106.8 kB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.49, allocations: 0.9501 MB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.4901, allocations: 45.7 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.4905, allocations: 412.9 kB / 1.345 GB, free: 14.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4906, allocations: 111.1 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.4908, allocations: 142.2 kB / 1.345 GB, free: 14.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002381/0.4911, allocations: 337.9 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.4916, allocations: 235.4 kB / 1.346 GB, free: 13.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.4925, allocations: 0.5099 MB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.4934, allocations: 462.7 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4935, allocations: 4 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001408/0.4949, allocations: 0.7035 MB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4949, allocations: 10.03 kB / 1.347 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4949, allocations: 4.25 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4949, allocations: 4 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.4954, allocations: 127.8 kB / 1.347 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.4954, allocations: 8.656 kB / 1.347 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.4959, allocations: 75.67 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.4959, allocations: 24 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/0.4966, allocations: 421.3 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006099/0.4972, allocations: 494.1 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007213/0.498, allocations: 418.6 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.498, allocations: 4 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001217/0.4992, allocations: 0.6607 MB / 1.349 GB, free: 9.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4992, allocations: 4 kB / 1.349 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4992, allocations: 4 kB / 1.349 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.4992, allocations: 4 kB / 1.349 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.4996, allocations: 112.1 kB / 1.35 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4996, allocations: 11.94 kB / 1.35 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.5, allocations: 71.72 kB / 1.35 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.5001, allocations: 24.11 kB / 1.35 GB, free: 9.273 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.TSouIn.tab.nextTimeEvent,$whenCondition3,$PRE.TSouOut.tab.nextTimeEvent,$whenCondition2,$PRE.TDisRet.tab.nextTimeEvent,$whenCondition1,TDisRet.tab.nextTimeEventScaled,$PRE.TDisRet.tab.nextTimeEventScaled,TDisRet.tab.nextTimeEvent,TSouOut.tab.nextTimeEventScaled,$PRE.TSouOut.tab.nextTimeEventScaled,TSouOut.tab.nextTimeEvent,agePumCon.hys1.y,$PRE.agePumCon.hys1.y,agePumCon.hys.y,$PRE.agePumCon.hys.y,agePumCon.NetDemBool.lesHys.y,$PRE.agePumCon.NetDemBool.lesHys.y,TSouIn.tab.nextTimeEventScaled,$PRE.TSouIn.tab.nextTimeEventScaled,TSouIn.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002701/0.5003, allocations: 234.7 kB / 1.35 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5005, allocations: 83.44 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5016, allocations: 465.1 kB / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5016, allocations: 0 / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5016, allocations: 3.984 kB / 1.35 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.5018, allocations: 95.39 kB / 1.351 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5019, allocations: 12 kB / 1.351 GB, free: 8.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.5022, allocations: 47.89 kB / 1.351 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.5023, allocations: 35.92 kB / 1.351 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001003/0.5033, allocations: 488.4 kB / 1.351 GB, free: 7.816 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001091/0.5044, allocations: 0.6268 MB / 1.352 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003466/0.5047, allocations: 151.9 kB / 1.352 GB, free: 7.023 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008358/0.5056, allocations: 0.581 MB / 1.352 GB, free: 6.449 MB / 1.045 GB Notification: Performance of Backend: time 8.11e-07/0.5056, allocations: 0 / 1.352 GB, free: 6.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004037/0.5096, allocations: 1.176 MB / 1.354 GB, free: 5.516 MB / 1.045 GB Notification: Performance of SimCode: time 0.003102/0.5127, allocations: 1.82 MB / 1.355 GB, free: 3.656 MB / 1.045 GB Notification: Performance of Templates: time 0.02674/0.5394, allocations: 13.8 MB / 1.369 GB, free: 6.035 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Networks_Controls_Examples_AgentPump1PipeExample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.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: 10.237962169005186]