Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001732/0.001732, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.955/2.955, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 12.22 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3532, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002335/0.3555, allocations: 1.71 MB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3567, allocations: 0.6936 MB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3569, allocations: 11.94 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.357, allocations: 31.72 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3571, allocations: 27.72 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.3575, allocations: 99.88 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.3579, allocations: 339.2 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.3582, allocations: 187 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3584, allocations: 111.6 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3586, allocations: 107.5 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.3586, allocations: 12 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.3587, allocations: 27.92 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3588, allocations: 47.83 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.3589, allocations: 69.58 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.3592, allocations: 295.5 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3592, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3592, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3592, allocations: 4 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007848/0.36, allocations: 0.5181 MB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.36, allocations: 8.031 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.3601, allocations: 31.62 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3604, allocations: 262.6 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3605, allocations: 32.52 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.3605, allocations: 32 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.3611, allocations: 315.6 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3611, allocations: 3.984 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3612, allocations: 8 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3612, allocations: 8 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.3617, allocations: 242.1 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.3631, allocations: 0.9519 MB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3636, allocations: 251.5 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3639, allocations: 121.3 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3639, allocations: 240 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.3643, allocations: 173 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3643, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006916/0.365, allocations: 333.3 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.365, allocations: 71.39 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3652, allocations: 198.8 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.3653, allocations: 37.7 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.3654, allocations: 152.6 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.3654, allocations: 86.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.3655, allocations: 4 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3656, allocations: 334.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3658, allocations: 99.95 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.366, allocations: 153 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3662, allocations: 99.92 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3662, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005223/0.3667, allocations: 313.7 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3668, allocations: 9.406 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3668, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3668, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.367, allocations: 43.91 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.367, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3672, allocations: 59.69 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.3673, allocations: 15.98 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.3675, allocations: 169.8 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3675, allocations: 19.77 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.3681, allocations: 296.6 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3681, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3681, allocations: 4 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3681, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.3691, allocations: 0.7369 MB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3691, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3693, allocations: 31.92 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3693, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3693, allocations: 8 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3693, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3693, allocations: 8 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.3698, allocations: 371 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.3699, allocations: 92.86 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3699, allocations: 8 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3701, allocations: 35.97 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3702, allocations: 39.94 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3702, allocations: 8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.831e-05/0.3703, allocations: 136.9 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00034/0.3707, allocations: 71.75 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.3709, allocations: 121 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.3714, allocations: 257.1 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3714, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.3717, allocations: 135.8 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3721, allocations: 44.92 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.373, allocations: 0.5347 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3733, allocations: 0.7644 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000117/0.3734, allocations: 34.27 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.3735, allocations: 23.44 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3735, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.006105/0.3796, allocations: 2.569 MB / 1.073 GB, free: 5.781 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches