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.001578, allocations: 112.5 kB / 16.42 MB, free: 6.012 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.001682/0.001682, allocations: 181.8 kB / 17.35 MB, free: 5.629 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.475/1.475, 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.732/2.732, allocations: 469.4 MB / 0.7428 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001554, allocations: 67.89 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.MainPump1PipeExample): time 0.006359/1.05, allocations: 3.576 MB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003751/1.054, allocations: 1.648 MB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/1.054, allocations: 19.88 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009713/1.055, allocations: 278.4 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/1.057, allocations: 262.5 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/1.058, allocations: 467.6 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001479/1.059, allocations: 0.9297 MB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008795/1.06, allocations: 437.9 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/1.061, allocations: 362.5 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/1.062, allocations: 394.2 kB / 1.229 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/1.062, allocations: 84 kB / 1.229 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/1.062, allocations: 127.9 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/1.063, allocations: 207.3 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/1.063, allocations: 389.7 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/1.065, allocations: 1.049 MB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.065, allocations: 0 / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.065, allocations: 0 / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.584e-05/1.065, allocations: 0 / 1.231 GB, free: 8.156 MB / 0.9512 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.002773/1.068, allocations: 1.098 MB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.068, allocations: 12.62 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/1.068, allocations: 87.81 kB / 1.232 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.069, allocations: 0.5865 MB / 1.233 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/1.069, allocations: 37.69 kB / 1.233 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.069, allocations: 63.94 kB / 1.233 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.07, allocations: 0.5651 MB / 1.233 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.07, allocations: 0 / 1.233 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/1.071, allocations: 24 kB / 1.233 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/1.071, allocations: 16 kB / 1.233 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/1.071, allocations: 413 kB / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/1.075, allocations: 1.735 MB / 1.235 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.076, allocations: 497 kB / 1.236 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/1.076, allocations: 226.1 kB / 1.236 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/1.077, allocations: 8.438 kB / 1.236 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005869/1.077, allocations: 281.3 kB / 1.236 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=51): time 2.845e-06/1.077, allocations: 0 / 1.236 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51): time 0.001429/1.079, allocations: 0.6272 MB / 1.237 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/1.079, allocations: 55.84 kB / 1.237 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.08, allocations: 0.7111 MB / 1.238 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/1.08, allocations: 41.7 kB / 1.238 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/1.08, allocations: 352.9 kB / 1.238 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/1.08, allocations: 161.7 kB / 1.238 GB, free: 384 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/1.08, allocations: 94.17 kB / 1.238 GB, free: 280 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.081, allocations: 382.8 kB / 1.239 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/1.081, allocations: 171 kB / 1.239 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/1.081, allocations: 249.6 kB / 1.239 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/1.082, allocations: 407.5 kB / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.082, allocations: 0 / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001027/1.083, allocations: 0.5225 MB / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.083, allocations: 6.031 kB / 1.24 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.083, allocations: 4 kB / 1.24 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.083, allocations: 4 kB / 1.24 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.084, allocations: 99.83 kB / 1.24 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/1.084, allocations: 7.938 kB / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/1.084, allocations: 55.73 kB / 1.24 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/1.084, allocations: 23.98 kB / 1.24 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005629/1.085, allocations: 325.2 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003813/1.085, allocations: 245.6 kB / 1.241 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00069/1.086, allocations: 391.5 kB / 1.241 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.086, allocations: 4 kB / 1.241 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001018/1.087, allocations: 0.5108 MB / 1.242 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.087, allocations: 4 kB / 1.242 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.087, allocations: 4 kB / 1.242 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/1.087, allocations: 4 kB / 1.242 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/1.087, allocations: 100 kB / 1.242 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.087, allocations: 8 kB / 1.242 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/1.088, allocations: 47.55 kB / 1.242 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.088, allocations: 23.98 kB / 1.242 GB, free: 12.6 MB / 0.9669 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.0002385/1.088, allocations: 218.4 kB / 1.242 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.088, allocations: 71.06 kB / 1.242 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.089, allocations: 0.5348 MB / 1.243 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.089, allocations: 3.984 kB / 1.243 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.089, allocations: 0 / 1.243 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.089, allocations: 152.1 kB / 1.243 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.09, allocations: 12 kB / 1.243 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/1.09, allocations: 27.97 kB / 1.243 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.09, allocations: 36.39 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001161/1.091, allocations: 0.5583 MB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001493/1.093, allocations: 0.9226 MB / 1.244 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003786/1.093, allocations: 211.4 kB / 1.244 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006389/1.094, allocations: 0.4951 MB / 1.245 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of Backend: time 1.042e-06/1.094, allocations: 0 / 1.245 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00284/1.097, allocations: 1.016 MB / 1.246 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002652/1.099, allocations: 1.628 MB / 1.247 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.02067/1.12, allocations: 9.9 MB / 1.257 GB, free: 13.02 MB / 0.9825 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