Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.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.001358/0.001358, allocations: 97.11 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.001594/0.001594, allocations: 209.2 kB / 23 MB, free: 4.93 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.423/3.423, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPum.TMix.1.|conPum.TSouIn.1.|conPum.TSouOut.1.|conPum.TMin_lower.y|conPum.TMax_upper.y|conPum.QCoo_flow.1.|conPum.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPum.TMix.1.|conPum.TSouIn.1.|conPum.TSouOut.1.|conPum.TMin_lower.y|conPum.TMax_upper.y|conPum.QCoo_flow.1.|conPum.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") [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.002075/0.002075, allocations: 66.45 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4463, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.006347/0.4527, allocations: 3.375 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.4572, allocations: 1.988 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.4577, allocations: 23.81 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007742/0.4585, allocations: 294.3 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009383/0.4595, allocations: 362.1 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.4604, allocations: 423.3 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.4617, allocations: 1.097 MB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.4623, allocations: 310.6 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.4628, allocations: 434.3 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.4634, allocations: 461.8 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.4636, allocations: 96 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.464, allocations: 152 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.4643, allocations: 279 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.4647, allocations: 341.9 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.4663, allocations: 1.311 MB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4663, allocations: 4 kB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4663, allocations: 0 / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.4663, allocations: 7.938 kB / 1.338 GB, free: 6.055 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002576/0.4689, allocations: 1.287 MB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.469, allocations: 8.031 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.4692, allocations: 116.2 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.4705, allocations: 0.6676 MB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.4706, allocations: 45.69 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4707, allocations: 59.94 kB / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4718, allocations: 0.6716 MB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4719, allocations: 4 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.4719, allocations: 20 kB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.4719, allocations: 16 kB / 1.341 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.4728, allocations: 429 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.4759, allocations: 1.588 MB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.4771, allocations: 478.8 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.4776, allocations: 220.4 kB / 1.343 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.4777, allocations: 4.656 kB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006348/0.4783, allocations: 332.7 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of pre-optimization done (n=50): time 4.008e-06/0.4783, allocations: 3.938 kB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=50): time 0.001496/0.4798, allocations: 0.6664 MB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4798, allocations: 63.84 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.4811, allocations: 0.9225 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.4812, allocations: 37.7 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.4816, allocations: 401 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.4818, allocations: 174.6 kB / 1.346 GB, free: 13.67 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.4821, allocations: 142.6 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4823, allocations: 334 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.4828, allocations: 256.7 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.4834, allocations: 368 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.4843, allocations: 0.5113 MB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4843, allocations: 0 / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001447/0.4858, allocations: 0.7505 MB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4858, allocations: 4 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4858, allocations: 4 kB / 1.348 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4858, allocations: 4 kB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/0.4864, allocations: 135.8 kB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.4864, allocations: 4.219 kB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.4868, allocations: 55.72 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.4869, allocations: 31.98 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007371/0.4876, allocations: 458 kB / 1.349 GB, free: 10.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005362/0.4882, allocations: 363.9 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008586/0.489, allocations: 499.7 kB / 1.349 GB, free: 9.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.478e-06/0.489, allocations: 4 kB / 1.349 GB, free: 9.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001281/0.4903, allocations: 0.7349 MB / 1.35 GB, free: 8.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4903, allocations: 4 kB / 1.35 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4903, allocations: 8.219 kB / 1.35 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.4903, allocations: 4 kB / 1.35 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4908, allocations: 127.8 kB / 1.35 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4908, allocations: 15.86 kB / 1.35 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.4912, allocations: 59.64 kB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.4912, allocations: 28 kB / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TMixandTSouIn.tab.nextTimeEvent,$whenCondition3,$PRE.TSouOut.tab.nextTimeEvent,$whenCondition2,$PRE.QCoo_flow.tab.nextTimeEvent,$whenCondition1,conPum.conShi.con1.y,TMixandTSouIn.tab.nextTimeEvent,TMixandTSouIn.tab.nextTimeEventScaled,$PRE.TMixandTSouIn.tab.nextTimeEventScaled,TSouOut.tab.nextTimeEvent,TSouOut.tab.nextTimeEventScaled,$PRE.TSouOut.tab.nextTimeEventScaled,conPum.greThr.greHys.y,$PRE.conPum.greThr.greHys.y,conPum.and2.y,QCoo_flow.tab.nextTimeEvent,QCoo_flow.tab.nextTimeEventScaled,$PRE.QCoo_flow.tab.nextTimeEventScaled,conPum.conShi.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002628/0.4915, allocations: 218.8 kB / 1.351 GB, free: 8.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.4916, allocations: 91.44 kB / 1.351 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4929, allocations: 0.5724 MB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.4929, allocations: 11.81 kB / 1.351 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4929, allocations: 0 / 1.351 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.4931, allocations: 99.28 kB / 1.351 GB, free: 7.688 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.4931, allocations: 12 kB / 1.351 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.4934, allocations: 31.97 kB / 1.351 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4935, allocations: 36.42 kB / 1.351 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.4948, allocations: 0.5871 MB / 1.352 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001737/0.4965, allocations: 0.9681 MB / 1.353 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004059/0.4969, allocations: 203.9 kB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008888/0.4978, allocations: 0.5616 MB / 1.354 GB, free: 5.27 MB / 1.045 GB Notification: Performance of Backend: time 5.21e-07/0.4978, allocations: 0 / 1.354 GB, free: 5.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004226/0.502, allocations: 1.235 MB / 1.355 GB, free: 4.277 MB / 1.045 GB Notification: Performance of SimCode: time 0.003321/0.5054, allocations: 1.914 MB / 1.357 GB, free: 2.324 MB / 1.045 GB Notification: Performance of Templates: time 0.02739/0.5327, allocations: 13.95 MB / 1.37 GB, free: 4.543 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Networks_Controls_Examples_MainPump1PipeExample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.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.144760553004744]