Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007663/0.007663, allocations: 101.1 kB / 15.73 MB, free: 5.98 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.001458/0.001458, allocations: 191.6 kB / 16.67 MB, free: 5.91 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9056, allocations: 159.1 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004004/0.9096, allocations: 2.249 MB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.9118, allocations: 1.274 MB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.912, allocations: 7.938 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.9125, allocations: 175.3 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.9129, allocations: 171.2 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.9135, allocations: 250 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.914, allocations: 406.9 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.9142, allocations: 73.28 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.9144, allocations: 179.3 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.9147, allocations: 175.3 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.9147, allocations: 24 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.9149, allocations: 83.89 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.915, allocations: 111.7 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.9152, allocations: 166.9 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.9158, allocations: 494.5 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9158, allocations: 8 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9158, allocations: 0 / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.9158, allocations: 0 / 1.226 GB, free: 12.28 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.001206/0.9171, allocations: 0.7232 MB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9171, allocations: 8.031 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.9172, allocations: 44.66 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.9178, allocations: 418.6 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.9178, allocations: 16.38 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.9178, allocations: 15.94 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.9182, allocations: 176.6 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9182, allocations: 4 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.9182, allocations: 11.98 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9182, allocations: 0 / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.9184, allocations: 99.83 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.9196, allocations: 0.7855 MB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.9199, allocations: 125.4 kB / 1.229 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.92, allocations: 49.69 kB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.9201, allocations: 4 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.9203, allocations: 136.9 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.9203, allocations: 0 / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005305/0.9208, allocations: 221.3 kB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.9209, allocations: 106.8 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.9216, allocations: 0.5799 MB / 1.23 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.9216, allocations: 33.7 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.9218, allocations: 192.5 kB / 1.23 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.9218, allocations: 39.73 kB / 1.23 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9219, allocations: 77.62 kB / 1.23 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9221, allocations: 354.7 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.9223, allocations: 108 kB / 1.23 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.9225, allocations: 175.5 kB / 1.231 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.9228, allocations: 183.2 kB / 1.231 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9228, allocations: 4 kB / 1.231 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005676/0.9234, allocations: 348.1 kB / 1.231 GB, free: 7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9234, allocations: 4 kB / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.9234, allocations: 0 / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.9234, allocations: 4 kB / 1.231 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.9236, allocations: 43.92 kB / 1.231 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9236, allocations: 7.938 kB / 1.231 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.9238, allocations: 39.95 kB / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.9239, allocations: 15.98 kB / 1.231 GB, free: 6.887 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.0002176/0.9241, allocations: 200.1 kB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.9241, allocations: 47.66 kB / 1.231 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.9242, allocations: 43.86 kB / 1.232 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9242, allocations: 0 / 1.232 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9242, allocations: 0 / 1.232 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9243, allocations: 4 kB / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.9246, allocations: 345.3 kB / 1.232 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9246, allocations: 0 / 1.232 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.9246, allocations: 8 kB / 1.232 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9246, allocations: 0 / 1.232 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.9247, allocations: 4 kB / 1.232 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.9247, allocations: 4 kB / 1.232 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9247, allocations: 3.984 kB / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.925, allocations: 213.5 kB / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9251, allocations: 120.8 kB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.9252, allocations: 8 kB / 1.232 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.9253, allocations: 19.97 kB / 1.232 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.9254, allocations: 19.97 kB / 1.232 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.9254, allocations: 7.938 kB / 1.232 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003825/0.9258, allocations: 359.1 kB / 1.233 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.9258, allocations: 0 / 1.233 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000298/0.9261, allocations: 75.88 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.9271, allocations: 426.7 kB / 1.233 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.9275, allocations: 187.8 kB / 1.233 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9275, allocations: 0 / 1.233 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.9277, allocations: 55.91 kB / 1.233 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.9282, allocations: 115.7 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.9292, allocations: 0.6127 MB / 1.234 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.9296, allocations: 0.8145 MB / 1.235 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.9298, allocations: 55.19 kB / 1.235 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.9299, allocations: 39.42 kB / 1.235 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.9299, allocations: 0 / 1.235 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of Templates: time 0.009562/0.9394, allocations: 4.774 MB / 1.24 GB, free: 14.42 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches