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.001303/0.001303, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.52 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3853, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004562/0.3899, allocations: 2.138 MB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3917, allocations: 0.7206 MB / 1.056 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.392, allocations: 8 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3923, allocations: 19.8 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3925, allocations: 31.72 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.393, allocations: 139.8 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.3936, allocations: 367.2 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.394, allocations: 208.5 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3942, allocations: 123.5 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.3945, allocations: 135.4 kB / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.3946, allocations: 20 kB / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3947, allocations: 27.98 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.3948, allocations: 59.77 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3949, allocations: 131.3 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.3953, allocations: 311.6 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3953, allocations: 0 / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3953, allocations: 3.938 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.3953, allocations: 0 / 1.057 GB, free: 3.898 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.001132/0.3965, allocations: 0.5691 MB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3965, allocations: 11.97 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3967, allocations: 36.55 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.397, allocations: 263.9 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.3971, allocations: 32.94 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.3971, allocations: 28.38 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.3978, allocations: 319.9 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3978, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.3979, allocations: 12 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3979, allocations: 8 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.3984, allocations: 234.1 kB / 1.059 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.4, allocations: 0.9401 MB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.4006, allocations: 239.6 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4008, allocations: 125.2 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4008, allocations: 8.219 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.4012, allocations: 161 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.4012, allocations: 0 / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0007206/0.402, allocations: 329.3 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.4021, allocations: 59.39 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4023, allocations: 206.8 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.4023, allocations: 37.7 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4025, allocations: 148.6 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.4026, allocations: 78.94 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4027, allocations: 81.67 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4028, allocations: 338.8 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4031, allocations: 99.89 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.4033, allocations: 157 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.4037, allocations: 210.4 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4037, allocations: 0 / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005713/0.4043, allocations: 316.6 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4044, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4044, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4044, allocations: 7.984 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.4046, allocations: 35.92 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.4046, allocations: 7.938 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4048, allocations: 43.7 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.4049, allocations: 20.12 kB / 1.062 GB, free: 14.53 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.0001858/0.4051, allocations: 177.6 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.4051, allocations: 19.72 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.4057, allocations: 272.7 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4057, allocations: 4 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4057, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4057, allocations: 4 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4069, allocations: 0.733 MB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4069, allocations: 0 / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.407, allocations: 31.92 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.407, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4071, allocations: 15.92 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4071, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4071, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.4076, allocations: 351 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.4077, allocations: 104.8 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.4077, allocations: 8 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4079, allocations: 35.95 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4081, allocations: 31.89 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.4081, allocations: 12 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001112/0.4082, allocations: 136.9 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4082, allocations: 0 / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003394/0.4086, allocations: 63.84 kB / 1.064 GB, free: 12.44 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.0001727/0.4087, allocations: 122.3 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.4093, allocations: 256.3 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4093, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.4095, allocations: 123.9 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.4099, allocations: 37.89 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.4109, allocations: 0.5767 MB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.4112, allocations: 0.7566 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4114, allocations: 27.42 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of SimCode: time 4.5e-07/0.4114, allocations: 3.938 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.006617/0.418, allocations: 3.378 MB / 1.069 GB, free: 7.121 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/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