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.008107/0.008115, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001598/0.001598, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8186, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00433/0.8229, allocations: 2.035 MB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.8244, allocations: 0.7013 MB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.8247, allocations: 7.938 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.8249, allocations: 35.61 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.8252, allocations: 39.59 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.8258, allocations: 151.8 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.8264, allocations: 399.2 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/0.827, allocations: 255.6 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.8273, allocations: 127.6 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.8276, allocations: 151.3 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.8277, allocations: 40 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.8278, allocations: 47.98 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.8279, allocations: 83.75 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.8281, allocations: 151.3 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.8286, allocations: 426.3 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.8286, allocations: 0 / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.427e-06/0.8286, allocations: 0 / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.8287, allocations: 3.938 kB / 1.212 GB, free: 8.98 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009423/0.8296, allocations: 0.5592 MB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8297, allocations: 16.03 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.8298, allocations: 36.55 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.8302, allocations: 277 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.8302, allocations: 24.94 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.8303, allocations: 28.38 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.8308, allocations: 319.9 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.8308, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.8309, allocations: 12 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.8309, allocations: 11.98 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.8314, allocations: 234.1 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.8329, allocations: 0.9246 MB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.8334, allocations: 239.5 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.8336, allocations: 121.2 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.8336, allocations: 8.234 kB / 1.215 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.8339, allocations: 171.9 kB / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.8339, allocations: 0 / 1.215 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006657/0.8346, allocations: 321.4 kB / 1.215 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.8347, allocations: 59.39 kB / 1.215 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.8348, allocations: 202.2 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.8349, allocations: 37.7 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.835, allocations: 160.6 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.8351, allocations: 71 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.8352, allocations: 81.59 kB / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8353, allocations: 334.8 kB / 1.216 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.8355, allocations: 91.95 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8357, allocations: 161 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.8361, allocations: 214.6 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8361, allocations: 0 / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005194/0.8366, allocations: 312.4 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8367, allocations: 8 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8367, allocations: 0 / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8367, allocations: 8.156 kB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.8369, allocations: 39.91 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8369, allocations: 3.938 kB / 1.217 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.8371, allocations: 47.75 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.8371, allocations: 8 kB / 1.217 GB, free: 3.645 MB / 0.9356 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.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,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.0001639/0.8373, allocations: 181.6 kB / 1.217 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.8374, allocations: 27.72 kB / 1.217 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.8379, allocations: 276.7 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8379, allocations: 4 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8379, allocations: 0 / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8379, allocations: 0 / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.8389, allocations: 0.7335 MB / 1.218 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8389, allocations: 4 kB / 1.218 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.8391, allocations: 27.92 kB / 1.218 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8391, allocations: 3.938 kB / 1.218 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.8391, allocations: 11.98 kB / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8391, allocations: 0 / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8391, allocations: 0 / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.8396, allocations: 360.2 kB / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.8397, allocations: 96.86 kB / 1.219 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.8397, allocations: 4 kB / 1.219 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.8399, allocations: 31.95 kB / 1.219 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.84, allocations: 35.89 kB / 1.219 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.8401, allocations: 12 kB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.8402, allocations: 137.5 kB / 1.219 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8402, allocations: 4 kB / 1.219 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000318/0.8405, allocations: 67.75 kB / 1.219 GB, free: 1.547 MB / 0.9356 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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.000146/0.8406, allocations: 121.4 kB / 1.219 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.8412, allocations: 252.3 kB / 1.219 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8412, allocations: 0 / 1.219 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.8414, allocations: 136.2 kB / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.8418, allocations: 45.44 kB / 1.22 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/0.8425, allocations: 466.5 kB / 1.22 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.8429, allocations: 0.7641 MB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.843, allocations: 26.3 kB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.8431, allocations: 27.42 kB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.8431, allocations: 4 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.006466/0.8495, allocations: 3.07 MB / 1.224 GB, free: 12.62 MB / 0.9512 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