Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001578/0.001577, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.001673/0.001673, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.155, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.005722/1.161, allocations: 3.595 MB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003518/1.164, allocations: 1.652 MB / 1.214 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/1.165, allocations: 11.94 kB / 1.214 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007523/1.166, allocations: 278.4 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007572/1.166, allocations: 258.5 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/1.168, allocations: 458.6 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001096/1.169, allocations: 0.9297 MB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/1.169, allocations: 437.9 kB / 1.216 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/1.17, allocations: 358.5 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/1.17, allocations: 394.1 kB / 1.217 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.17, allocations: 84 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/1.171, allocations: 132 kB / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/1.171, allocations: 207.3 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/1.171, allocations: 385.8 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/1.173, allocations: 1.053 MB / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.173, allocations: 0 / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.043e-06/1.173, allocations: 0 / 1.218 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.173, allocations: 0 / 1.218 GB, free: 3.406 MB / 0.9356 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.00203/1.175, allocations: 1.094 MB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.175, allocations: 8.031 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/1.175, allocations: 87.91 kB / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/1.176, allocations: 0.5864 MB / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/1.176, allocations: 49.61 kB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.176, allocations: 55.94 kB / 1.22 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.177, allocations: 0.5691 MB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.177, allocations: 4 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/1.177, allocations: 24 kB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/1.177, allocations: 12 kB / 1.221 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/1.178, allocations: 417 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/1.181, allocations: 1.723 MB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.182, allocations: 0.4892 MB / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/1.182, allocations: 227 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/1.182, allocations: 12.42 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/1.183, allocations: 273.3 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=51): time 2.956e-06/1.183, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51): time 0.001413/1.184, allocations: 0.6309 MB / 1.224 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.185, allocations: 59.84 kB / 1.224 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/1.185, allocations: 0.715 MB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/1.186, allocations: 37.7 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/1.186, allocations: 349.1 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.186, allocations: 157.8 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.186, allocations: 98.14 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.186, allocations: 382.7 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.187, allocations: 175 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/1.187, allocations: 241.7 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/1.188, allocations: 403.5 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.188, allocations: 0 / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009881/1.189, allocations: 0.5264 MB / 1.227 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.189, allocations: 8 kB / 1.227 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.189, allocations: 0 / 1.227 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.189, allocations: 4 kB / 1.227 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/1.189, allocations: 96.11 kB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.189, allocations: 15.88 kB / 1.228 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/1.19, allocations: 59.42 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.19, allocations: 19.98 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005191/1.19, allocations: 329.2 kB / 1.228 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003706/1.191, allocations: 233.7 kB / 1.228 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006548/1.191, allocations: 403.5 kB / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/1.191, allocations: 0 / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0008738/1.192, allocations: 0.5107 MB / 1.229 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.192, allocations: 9.875 kB / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/1.192, allocations: 0 / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/1.192, allocations: 8.219 kB / 1.229 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/1.193, allocations: 95.89 kB / 1.229 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.193, allocations: 7.938 kB / 1.229 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/1.193, allocations: 51.55 kB / 1.229 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/1.193, allocations: 16 kB / 1.229 GB, free: 7.863 MB / 0.9512 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.0001805/1.193, allocations: 214.4 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/1.193, allocations: 75.06 kB / 1.23 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.194, allocations: 0.5348 MB / 1.23 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.194, allocations: 3.984 kB / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.194, allocations: 0 / 1.23 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/1.194, allocations: 152.1 kB / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.269e-05/1.195, allocations: 8 kB / 1.23 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.195, allocations: 31.97 kB / 1.23 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.195, allocations: 36.39 kB / 1.23 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001068/1.196, allocations: 0.5621 MB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001445/1.197, allocations: 0.9149 MB / 1.232 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003633/1.198, allocations: 211.4 kB / 1.232 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006593/1.199, allocations: 0.4991 MB / 1.232 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/1.199, allocations: 0 / 1.232 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.201, allocations: 1.014 MB / 1.233 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002462/1.204, allocations: 1.624 MB / 1.235 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of Templates: time 0.01802/1.222, allocations: 9.898 MB / 1.245 GB, free: 8.285 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.sim & ./Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Controls_Examples_MainPump1PipeExample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches