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 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.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.001453/0.001454, allocations: 115.3 kB / 16.42 MB, free: 6.488 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.001485/0.001485, allocations: 185.7 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.489/1.489, 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.844/2.844, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004274/1.068, allocations: 2.255 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002366/1.07, allocations: 1.263 MB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/1.071, allocations: 7.938 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/1.071, allocations: 167.3 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004805/1.072, allocations: 179.2 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/1.072, allocations: 245 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005819/1.073, allocations: 410.9 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/1.073, allocations: 101.2 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/1.074, allocations: 179.3 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/1.074, allocations: 179.3 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/1.074, allocations: 24 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/1.074, allocations: 75.97 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/1.074, allocations: 115.6 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/1.074, allocations: 166.9 kB / 1.214 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/1.075, allocations: 488 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.075, allocations: 4 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/1.075, allocations: 0 / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.395e-05/1.075, allocations: 0 / 1.214 GB, free: 7.84 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001347/1.077, allocations: 0.7195 MB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.077, allocations: 8.031 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/1.077, allocations: 40.47 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/1.077, allocations: 418.2 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/1.077, allocations: 16.12 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/1.077, allocations: 23.97 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/1.078, allocations: 165.4 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.078, allocations: 0 / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.078, allocations: 8 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.078, allocations: 0 / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/1.078, allocations: 95.89 kB / 1.216 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.079, allocations: 0.7815 MB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/1.08, allocations: 137.5 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.08, allocations: 53.64 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.08, allocations: 3.984 kB / 1.216 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/1.08, allocations: 137 kB / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/1.08, allocations: 0 / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005603/1.081, allocations: 221 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.081, allocations: 102.8 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/1.081, allocations: 0.5798 MB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.081, allocations: 33.7 kB / 1.218 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/1.082, allocations: 200.5 kB / 1.218 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.082, allocations: 31.55 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.082, allocations: 73.69 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.082, allocations: 358.7 kB / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/1.082, allocations: 104.5 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/1.082, allocations: 169.8 kB / 1.218 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/1.083, allocations: 183 kB / 1.219 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.083, allocations: 0 / 1.219 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005841/1.083, allocations: 355.3 kB / 1.219 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.083, allocations: 4 kB / 1.219 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.083, allocations: 4 kB / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.083, allocations: 0 / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/1.084, allocations: 51.91 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.084, allocations: 0 / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/1.084, allocations: 43.91 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/1.084, allocations: 12 kB / 1.219 GB, free: 2.469 MB / 0.9356 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.0002215/1.084, allocations: 201 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/1.084, allocations: 35.53 kB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/1.084, allocations: 39.38 kB / 1.219 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.084, allocations: 7.922 kB / 1.219 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.084, allocations: 4 kB / 1.219 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.084, allocations: 116.6 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/1.085, allocations: 11.98 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.085, allocations: 23.97 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/1.085, allocations: 23.95 kB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004122/1.085, allocations: 316.1 kB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004119/1.086, allocations: 425.5 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001247/1.086, allocations: 59.91 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003802/1.086, allocations: 363.1 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of Backend: time 4.81e-07/1.086, allocations: 0 / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.088, allocations: 0.6294 MB / 1.221 GB, free: 384 kB / 0.9356 GB Notification: Performance of SimCode: time 0.001419/1.089, allocations: 1.082 MB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.01121/1.101, allocations: 4.961 MB / 1.227 GB, free: 10.34 MB / 0.9512 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