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.007075/0.007075, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001367/0.001367, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8309, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00379/0.8347, allocations: 2.028 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.8362, allocations: 0.7092 MB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.8365, allocations: 7.938 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.8367, allocations: 31.55 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.8369, allocations: 43.58 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.8375, allocations: 159.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.8381, allocations: 391.2 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.8386, allocations: 255.6 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.8389, allocations: 127.6 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.8392, allocations: 151.3 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.8393, allocations: 43.94 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.8394, allocations: 44 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.8395, allocations: 87.73 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.8397, allocations: 147.3 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.8402, allocations: 426.3 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.8402, allocations: 4 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8402, allocations: 0 / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.8402, allocations: 0 / 1.212 GB, free: 8.941 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.001066/0.8413, allocations: 0.5631 MB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8414, allocations: 8.031 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.8415, allocations: 32.56 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.8419, allocations: 277 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.8419, allocations: 28.88 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.842, allocations: 32.38 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.8426, allocations: 320 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.8426, allocations: 0 / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.8426, allocations: 12 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8426, allocations: 4 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.8432, allocations: 234.1 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.8446, allocations: 0.9246 MB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.8452, allocations: 252 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.8454, allocations: 121.2 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8454, allocations: 4.234 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.8457, allocations: 171.9 kB / 1.215 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/0.8457, allocations: 3.984 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006911/0.8464, allocations: 321.4 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.8465, allocations: 55.41 kB / 1.215 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.8467, allocations: 202.2 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.8467, allocations: 41.69 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.8469, allocations: 156.6 kB / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.8469, allocations: 75 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.8471, allocations: 89.52 kB / 1.216 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8472, allocations: 338.8 kB / 1.216 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.8474, allocations: 87.95 kB / 1.216 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.8476, allocations: 153 kB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.848, allocations: 214.6 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.848, allocations: 0 / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005319/0.8485, allocations: 316.5 kB / 1.217 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8486, allocations: 4 kB / 1.217 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8486, allocations: 4 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8486, allocations: 0 / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.8488, allocations: 47.84 kB / 1.217 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.8488, allocations: 11.94 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.849, allocations: 39.75 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.8491, allocations: 15.98 kB / 1.217 GB, free: 3.59 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.0001705/0.8493, allocations: 169.8 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.8493, allocations: 23.72 kB / 1.217 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.8498, allocations: 272.7 kB / 1.218 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.8499, allocations: 4 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8499, allocations: 3.984 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.8499, allocations: 0 / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.8509, allocations: 0.7374 MB / 1.218 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.851, allocations: 0 / 1.218 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.8511, allocations: 31.91 kB / 1.218 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8511, allocations: 0 / 1.218 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.8511, allocations: 11.98 kB / 1.218 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8512, allocations: 0 / 1.218 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8512, allocations: 3.984 kB / 1.218 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.8516, allocations: 364.2 kB / 1.219 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.8517, allocations: 96.84 kB / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.8518, allocations: 8 kB / 1.219 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.852, allocations: 23.97 kB / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8521, allocations: 39.89 kB / 1.219 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.8521, allocations: 12 kB / 1.219 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001083/0.8522, allocations: 141.5 kB / 1.219 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8522, allocations: 0 / 1.219 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003316/0.8526, allocations: 63.75 kB / 1.219 GB, free: 1.504 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.000171/0.8527, allocations: 129.4 kB / 1.219 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.8533, allocations: 248.5 kB / 1.219 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.8533, allocations: 4 kB / 1.219 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.8535, allocations: 123.9 kB / 1.22 GB, free: 1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.8539, allocations: 43.91 kB / 1.22 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.8548, allocations: 462.5 kB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8551, allocations: 0.7604 MB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.8553, allocations: 30.28 kB / 1.221 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.8554, allocations: 27.44 kB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.8554, allocations: 0 / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.007067/0.8624, allocations: 3.182 MB / 1.224 GB, free: 12.48 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