Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001628/0.001628, allocations: 109.6 kB / 16.41 MB, free: 6.516 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.001883/0.001883, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9926/0.9941, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003726/0.9979, allocations: 2.255 MB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002472/1, allocations: 1.267 MB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/1.001, allocations: 7.938 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/1.002, allocations: 179.3 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000639/1.002, allocations: 179.2 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/1.003, allocations: 241.6 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/1.004, allocations: 407 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/1.004, allocations: 101.2 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/1.005, allocations: 183.3 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/1.005, allocations: 179.2 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/1.005, allocations: 24 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/1.005, allocations: 83.97 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/1.006, allocations: 107.7 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/1.006, allocations: 166.9 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008023/1.007, allocations: 499.9 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.007, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.356e-06/1.007, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.007, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 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.001712/1.008, allocations: 0.7079 MB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.008, allocations: 16.88 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/1.009, allocations: 44.45 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/1.009, allocations: 414.2 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.009, allocations: 8.375 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/1.009, allocations: 23.88 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/1.01, allocations: 184.1 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.01, allocations: 4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/1.01, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.01, allocations: 4 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/1.01, allocations: 87.89 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/1.012, allocations: 0.7816 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/1.012, allocations: 141.4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/1.012, allocations: 49.7 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/1.012, allocations: 15.88 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/1.013, allocations: 121 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/1.013, allocations: 0 / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0005939/1.013, allocations: 225 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/1.013, allocations: 102.8 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/1.014, allocations: 0.5798 MB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/1.014, allocations: 33.7 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.014, allocations: 196.4 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/1.014, allocations: 35.55 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/1.014, allocations: 69.69 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.015, allocations: 362.8 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.015, allocations: 107.9 kB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/1.015, allocations: 166.9 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/1.015, allocations: 197.5 kB / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.015, allocations: 0 / 1.178 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006477/1.016, allocations: 340.9 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.016, allocations: 8 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.016, allocations: 0 / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.016, allocations: 8 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/1.016, allocations: 52 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.016, allocations: 7.938 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/1.017, allocations: 39.81 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/1.017, allocations: 8 kB / 1.178 GB, free: 8.602 MB / 0.9044 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.0002253/1.017, allocations: 199.5 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/1.017, allocations: 39.52 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/1.017, allocations: 43.38 kB / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.017, allocations: 4 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.017, allocations: 0 / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.017, allocations: 120.6 kB / 1.178 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/1.017, allocations: 8 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.017, allocations: 23.91 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/1.017, allocations: 19.97 kB / 1.178 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004036/1.018, allocations: 316.1 kB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004401/1.018, allocations: 425.5 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001269/1.018, allocations: 51.97 kB / 1.179 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004023/1.019, allocations: 367 kB / 1.18 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of Backend: time 8.72e-07/1.019, allocations: 3.938 kB / 1.18 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.021, allocations: 0.6269 MB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001493/1.022, allocations: 1.093 MB / 1.181 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of Templates: time 0.01103/1.034, allocations: 4.978 MB / 1.186 GB, free: 460 kB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches