Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001395, allocations: 108.5 kB / 16.41 MB, free: 6.426 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.001393/0.001393, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 59.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004377/1.072, allocations: 2.236 MB / 1.229 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002586/1.075, allocations: 1.274 MB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/1.075, allocations: 11.94 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/1.075, allocations: 171.3 kB / 1.23 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004052/1.076, allocations: 175.2 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/1.076, allocations: 246.4 kB / 1.23 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004823/1.077, allocations: 414.9 kB / 1.231 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/1.077, allocations: 97.27 kB / 1.231 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/1.077, allocations: 195.2 kB / 1.231 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/1.078, allocations: 167.4 kB / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/1.078, allocations: 24 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/1.078, allocations: 83.89 kB / 1.231 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/1.078, allocations: 111.7 kB / 1.231 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/1.078, allocations: 166.9 kB / 1.232 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/1.079, allocations: 486.5 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.079, allocations: 0 / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.193e-06/1.079, allocations: 0 / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.079, allocations: 4 kB / 1.232 GB, free: 7.707 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00112/1.08, allocations: 0.7231 MB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.08, allocations: 16.03 kB / 1.233 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/1.08, allocations: 44.66 kB / 1.233 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/1.081, allocations: 414.5 kB / 1.233 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.081, allocations: 16.36 kB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/1.081, allocations: 15.94 kB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/1.081, allocations: 180.1 kB / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/1.081, allocations: 4 kB / 1.233 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.081, allocations: 4 kB / 1.233 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.081, allocations: 4 kB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/1.081, allocations: 95.81 kB / 1.233 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/1.083, allocations: 0.7778 MB / 1.234 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/1.083, allocations: 141.4 kB / 1.234 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.083, allocations: 57.69 kB / 1.234 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/1.083, allocations: 4 kB / 1.234 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/1.083, allocations: 129 kB / 1.235 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 3.737e-06/1.083, allocations: 112 / 1.235 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.000543/1.084, allocations: 229.7 kB / 1.235 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.084, allocations: 106.8 kB / 1.235 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/1.085, allocations: 0.5798 MB / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.085, allocations: 33.7 kB / 1.235 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/1.085, allocations: 192.5 kB / 1.236 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/1.085, allocations: 35.73 kB / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/1.085, allocations: 77.5 kB / 1.236 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.085, allocations: 362.7 kB / 1.236 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.085, allocations: 108 kB / 1.236 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/1.086, allocations: 162 kB / 1.236 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/1.086, allocations: 190.5 kB / 1.237 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.086, allocations: 0 / 1.237 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000557/1.087, allocations: 343.7 kB / 1.237 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.087, allocations: 4 kB / 1.237 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.087, allocations: 0 / 1.237 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.087, allocations: 7.984 kB / 1.237 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.087, allocations: 48.02 kB / 1.237 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/1.087, allocations: 8 kB / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/1.087, allocations: 35.86 kB / 1.237 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/1.087, allocations: 11.98 kB / 1.237 GB, free: 2.301 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002279/1.087, allocations: 196 kB / 1.237 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/1.087, allocations: 43.72 kB / 1.237 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/1.088, allocations: 39.38 kB / 1.237 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.088, allocations: 7.984 kB / 1.237 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.088, allocations: 3.938 kB / 1.237 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.088, allocations: 120.8 kB / 1.237 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/1.088, allocations: 11.98 kB / 1.237 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/1.088, allocations: 19.92 kB / 1.237 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/1.088, allocations: 19.97 kB / 1.237 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004024/1.088, allocations: 320.1 kB / 1.238 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000428/1.089, allocations: 429.7 kB / 1.238 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001309/1.089, allocations: 60.16 kB / 1.238 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003853/1.089, allocations: 363 kB / 1.239 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.089, allocations: 0 / 1.239 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.091, allocations: 0.6242 MB / 1.239 GB, free: 204 kB / 0.9512 GB Notification: Performance of SimCode: time 0.001422/1.093, allocations: 1.111 MB / 1.24 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of Templates: time 0.009805/1.102, allocations: 4.959 MB / 1.245 GB, free: 10.13 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches