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.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.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.0009968/0.0009967, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0106/0.0106, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 9.75 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4408, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.0027/0.4436, allocations: 1.771 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.4451, allocations: 0.7167 MB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.4453, allocations: 8 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.4455, allocations: 19.78 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.4457, allocations: 31.72 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4462, allocations: 139.9 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.4467, allocations: 359.2 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.4471, allocations: 200.3 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.4473, allocations: 103.5 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.4475, allocations: 111.4 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.4476, allocations: 16 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.4477, allocations: 23.98 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.4477, allocations: 51.75 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.4479, allocations: 145 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.4483, allocations: 366.9 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4483, allocations: 4 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4483, allocations: 0 / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.4483, allocations: 4 kB / 1.063 GB, free: 1.43 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.0008862/0.4492, allocations: 0.5067 MB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4493, allocations: 12.03 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.4e-05/0.4494, allocations: 40.55 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4497, allocations: 264.4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.4498, allocations: 28.88 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.4498, allocations: 32.38 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.4505, allocations: 315.8 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4505, allocations: 4 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4505, allocations: 12 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4505, allocations: 8 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.4511, allocations: 238.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.4527, allocations: 0.9557 MB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.4532, allocations: 255.5 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.4535, allocations: 118 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.4535, allocations: 4.234 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.4538, allocations: 171.5 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/0.4539, allocations: 3.938 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007238/0.4546, allocations: 337.3 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.4547, allocations: 63.39 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.4549, allocations: 211.2 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.4549, allocations: 37.7 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.455, allocations: 152.6 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.4551, allocations: 78.95 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.4552, allocations: 61.61 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4553, allocations: 330.8 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.4555, allocations: 99.94 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.4558, allocations: 149.1 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.4562, allocations: 226.4 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4562, allocations: 3.938 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005547/0.4567, allocations: 308.7 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4568, allocations: 9.719 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4568, allocations: 160 / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4568, allocations: 8 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.457, allocations: 39.91 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.4571, allocations: 11.92 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4573, allocations: 51.72 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.4573, allocations: 16 kB / 1.068 GB, free: 12.07 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.4575, allocations: 185.6 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4576, allocations: 19.72 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.4582, allocations: 284.2 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4582, allocations: 4 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4582, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4582, allocations: 3.984 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4593, allocations: 0.7372 MB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4593, allocations: 0 / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4594, allocations: 39.84 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4594, allocations: 0 / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4595, allocations: 8 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4595, allocations: 0 / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4595, allocations: 3.938 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.46, allocations: 367.6 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.4601, allocations: 100.8 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.4601, allocations: 7.984 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4603, allocations: 39.97 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4604, allocations: 39.89 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4605, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000103/0.4606, allocations: 136.4 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4606, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003242/0.4609, allocations: 71.69 kB / 1.07 GB, free: 9.941 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 (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.0001974/0.4611, allocations: 125 kB / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.4616, allocations: 251.8 kB / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4616, allocations: 0 / 1.07 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.4619, allocations: 136.2 kB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4623, allocations: 35.91 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.4631, allocations: 0.5619 MB / 1.071 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.4634, allocations: 0.7605 MB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.4636, allocations: 26.3 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.4637, allocations: 27.42 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4637, allocations: 4 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Templates: time 0.00605/0.4697, allocations: 2.652 MB / 1.074 GB, free: 5.34 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