Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 117.9 kB / 16.81 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 192.7 kB / 17.77 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 63.38 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3941, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.005614/0.3997, allocations: 3.577 MB / 1.266 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.4032, allocations: 1.66 MB / 1.267 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.4037, allocations: 19.88 kB / 1.267 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.4045, allocations: 282.5 kB / 1.267 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.4051, allocations: 258.5 kB / 1.268 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.4062, allocations: 478.5 kB / 1.268 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.4073, allocations: 0.9336 MB / 1.269 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005402/0.4078, allocations: 310 kB / 1.269 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.4083, allocations: 366.5 kB / 1.27 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.4087, allocations: 406.1 kB / 1.27 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4089, allocations: 84 kB / 1.27 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.4091, allocations: 120 kB / 1.27 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.4093, allocations: 223.2 kB / 1.27 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4097, allocations: 377.8 kB / 1.271 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.411, allocations: 1.046 MB / 1.272 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.411, allocations: 0 / 1.272 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.411, allocations: 0 / 1.272 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.411, allocations: 4 kB / 1.272 GB, free: 2.781 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002268/0.4133, allocations: 1.136 MB / 1.273 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4133, allocations: 8.031 kB / 1.273 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4135, allocations: 96.33 kB / 1.273 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.4145, allocations: 0.5793 MB / 1.274 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.4145, allocations: 41.69 kB / 1.274 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.4146, allocations: 55.94 kB / 1.274 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4157, allocations: 0.5807 MB / 1.274 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4157, allocations: 0 / 1.274 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.4158, allocations: 23.98 kB / 1.274 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.4158, allocations: 16 kB / 1.274 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.4167, allocations: 409 kB / 1.275 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.4195, allocations: 1.743 MB / 1.276 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4207, allocations: 469.8 kB / 1.277 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.4212, allocations: 212 kB / 1.277 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.4212, allocations: 8.594 kB / 1.277 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/0.4218, allocations: 281.3 kB / 1.277 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.4218, allocations: 0 / 1.277 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=51): time 0.001384/0.4232, allocations: 0.6314 MB / 1.278 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.4232, allocations: 59.84 kB / 1.278 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.4241, allocations: 0.7112 MB / 1.279 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.4242, allocations: 37.7 kB / 1.279 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.4245, allocations: 345.2 kB / 1.279 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.4247, allocations: 170.6 kB / 1.279 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4248, allocations: 98.25 kB / 1.279 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.425, allocations: 382.8 kB / 1.28 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4254, allocations: 163 kB / 1.28 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.4258, allocations: 245.6 kB / 1.28 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.4266, allocations: 407.5 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4266, allocations: 4 kB / 1.281 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001009/0.4276, allocations: 0.5153 MB / 1.281 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4276, allocations: 12 kB / 1.281 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4276, allocations: 0 / 1.281 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4277, allocations: 4 kB / 1.281 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.4281, allocations: 107.8 kB / 1.281 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.4281, allocations: 11.92 kB / 1.281 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.4284, allocations: 59.55 kB / 1.281 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4284, allocations: 16 kB / 1.281 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005276/0.429, allocations: 333.2 kB / 1.282 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003721/0.4293, allocations: 237.6 kB / 1.282 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006857/0.43, allocations: 395.5 kB / 1.282 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.43, allocations: 0 / 1.282 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009434/0.431, allocations: 0.5228 MB / 1.283 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.431, allocations: 9.875 kB / 1.283 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.431, allocations: 0 / 1.283 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.431, allocations: 4 kB / 1.283 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.4314, allocations: 99.83 kB / 1.283 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.4314, allocations: 7.938 kB / 1.283 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.4317, allocations: 47.7 kB / 1.283 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4317, allocations: 16.19 kB / 1.283 GB, free: 7.207 MB / 0.9981 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.nextTimeEvent,$whenCondition3,$PRE.TSouOut.nextTimeEvent,$whenCondition2,$PRE.QCoo_flow.nextTimeEvent,$whenCondition1,conPum.conShi.con1.y,QCoo_flow.nextTimeEventScaled,$PRE.QCoo_flow.nextTimeEventScaled,QCoo_flow.nextTimeEvent,conPum.and2.y,conPum.greThr.greHys.y,$PRE.conPum.greThr.greHys.y,TSouOut.nextTimeEventScaled,$PRE.TSouOut.nextTimeEventScaled,TSouOut.nextTimeEvent,TMixandTSouIn.nextTimeEventScaled,$PRE.TMixandTSouIn.nextTimeEventScaled,TMixandTSouIn.nextTimeEvent,conPum.conShi.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.00025/0.432, allocations: 218.4 kB / 1.283 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4321, allocations: 83.47 kB / 1.283 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4332, allocations: 0.527 MB / 1.284 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4332, allocations: 3.984 kB / 1.284 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4332, allocations: 0 / 1.284 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.4334, allocations: 164.4 kB / 1.284 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.4335, allocations: 12 kB / 1.284 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4338, allocations: 23.97 kB / 1.284 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4339, allocations: 40.38 kB / 1.284 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00113/0.435, allocations: 0.5583 MB / 1.284 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001527/0.4365, allocations: 0.9192 MB / 1.285 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003846/0.4369, allocations: 191.4 kB / 1.285 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006957/0.4376, allocations: 0.5029 MB / 1.286 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of Backend: time 3.01e-07/0.4376, allocations: 4.062 kB / 1.286 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.4411, allocations: 0.961 MB / 1.287 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002611/0.4437, allocations: 1.649 MB / 1.289 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.02042/0.4642, allocations: 10.16 MB / 1.298 GB, free: 7.398 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.sim & ./Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Controls_Examples_MainPump1PipeExample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches