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.001257/0.001257, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001188/0.001189, allocations: 187 kB / 17.34 MB, free: 5.742 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.232/1.232, allocations: 222.9 MB / 241 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.357/2.357, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6774, 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.002968/0.6804, allocations: 2.036 MB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.6816, allocations: 0.6936 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.6817, allocations: 7.938 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.6818, allocations: 35.59 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.6819, allocations: 43.59 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.6823, allocations: 151.8 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.6827, allocations: 407.1 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.683, allocations: 251.6 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.6831, allocations: 127.6 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.6833, allocations: 147.3 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.6834, allocations: 43.94 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.6835, allocations: 47.98 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.6835, allocations: 83.75 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.6837, allocations: 151.2 kB / 1.213 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.684, allocations: 422.4 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6841, allocations: 0 / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6841, allocations: 0 / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6841, allocations: 4 kB / 1.213 GB, free: 8.977 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.0007563/0.6848, allocations: 0.563 MB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.6849, allocations: 12.03 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.6849, allocations: 32.56 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.6853, allocations: 277 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.6853, allocations: 28.88 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.6853, allocations: 28.38 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.6859, allocations: 320 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6859, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.6859, allocations: 12 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6859, allocations: 4 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.6864, allocations: 238.1 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.6876, allocations: 0.9208 MB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.6881, allocations: 251.5 kB / 1.216 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.6883, allocations: 121.2 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.6884, allocations: 12.16 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.6886, allocations: 164 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.6886, allocations: 0 / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0006407/0.6893, allocations: 321.4 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.6893, allocations: 59.39 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.6895, allocations: 198.2 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.6896, allocations: 41.7 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.6897, allocations: 156.6 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.6897, allocations: 82.92 kB / 1.217 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6898, allocations: 81.59 kB / 1.217 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.69, allocations: 334.8 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.6902, allocations: 91.95 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6904, allocations: 153 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.6907, allocations: 218.6 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6907, allocations: 0 / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005003/0.6912, allocations: 316.4 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6913, allocations: 4 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6913, allocations: 3.984 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.6913, allocations: 4 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6915, allocations: 43.86 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.6915, allocations: 11.92 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.6917, allocations: 39.91 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.6918, allocations: 16 kB / 1.218 GB, free: 3.621 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.0001626/0.6919, allocations: 169.7 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.692, allocations: 23.72 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.6925, allocations: 272.7 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6925, allocations: 4 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6925, allocations: 4 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6925, allocations: 0 / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.6934, allocations: 0.7335 MB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6934, allocations: 3.984 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.6936, allocations: 27.92 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6936, allocations: 3.938 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.6936, allocations: 11.98 kB / 1.219 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6936, allocations: 3.984 kB / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6936, allocations: 4 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.6941, allocations: 356.2 kB / 1.219 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.6942, allocations: 96.86 kB / 1.22 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6942, allocations: 12 kB / 1.22 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.6944, allocations: 27.95 kB / 1.22 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.6945, allocations: 43.89 kB / 1.22 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.6945, allocations: 8 kB / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.6946, allocations: 137.5 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6946, allocations: 0 / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002878/0.6949, allocations: 67.73 kB / 1.22 GB, free: 1.531 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.000143/0.6951, allocations: 121.4 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.6955, allocations: 256.3 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6955, allocations: 0 / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.6958, allocations: 127.9 kB / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.6961, allocations: 31.92 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.0007231/0.6968, allocations: 496.5 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6971, allocations: 0.7525 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.6972, allocations: 35.42 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6972, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of Templates: time 0.004962/0.7022, allocations: 3.408 MB / 1.225 GB, free: 12.27 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/jenkins1/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