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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004858/0.004858, allocations: 105 kB / 15.74 MB, free: 6.5 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.001059/0.001059, allocations: 201.2 kB / 16.68 MB, free: 6.375 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.09 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003342/0.3246, allocations: 2.034 MB / 1.228 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.326, allocations: 0.7167 MB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3261, allocations: 7.938 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.3263, allocations: 35.61 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3265, allocations: 43.53 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.327, allocations: 159.8 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3274, allocations: 395.2 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.3278, allocations: 243.7 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3281, allocations: 135.5 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.3283, allocations: 147.3 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.3284, allocations: 40 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.3285, allocations: 51.98 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.3285, allocations: 79.77 kB / 1.23 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3287, allocations: 151.3 kB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.3291, allocations: 418.4 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3292, allocations: 0 / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3292, allocations: 0 / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3292, allocations: 0 / 1.23 GB, free: 4.559 MB / 0.9825 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.00081/0.33, allocations: 0.5842 MB / 1.231 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.33, allocations: 16.03 kB / 1.231 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.3301, allocations: 32.75 kB / 1.231 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3305, allocations: 279.8 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.3305, allocations: 24.94 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.3306, allocations: 28.38 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.3312, allocations: 323.9 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3312, allocations: 0 / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.3313, allocations: 19.98 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3313, allocations: 4 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.3318, allocations: 234.1 kB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.3333, allocations: 0.9327 MB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.3339, allocations: 235.6 kB / 1.233 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3342, allocations: 126.4 kB / 1.233 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3342, allocations: 4.234 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.3345, allocations: 159.5 kB / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.3345, allocations: 0 / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007065/0.3352, allocations: 322.2 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3353, allocations: 59.41 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3355, allocations: 210.9 kB / 1.234 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3355, allocations: 41.7 kB / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3357, allocations: 148.9 kB / 1.234 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.3357, allocations: 83.36 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3359, allocations: 77.67 kB / 1.234 GB, free: 448 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.336, allocations: 334.8 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.3362, allocations: 91.95 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.3365, allocations: 157 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.3368, allocations: 209 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3369, allocations: 0 / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005375/0.3374, allocations: 318.6 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3374, allocations: 4 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3374, allocations: 160 / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3375, allocations: 11.94 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3377, allocations: 43.91 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3377, allocations: 4 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3379, allocations: 43.75 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.338, allocations: 15.94 kB / 1.235 GB, free: 15.18 MB / 0.9981 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.0001849/0.3382, allocations: 178.2 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.3382, allocations: 23.86 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.3388, allocations: 276.2 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3388, allocations: 4 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3388, allocations: 0 / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3388, allocations: 3.984 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3399, allocations: 0.7332 MB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3399, allocations: 0 / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3401, allocations: 35.92 kB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3401, allocations: 0 / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.3401, allocations: 11.98 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3402, allocations: 0 / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3402, allocations: 0 / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3407, allocations: 360.8 kB / 1.237 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.3408, allocations: 100.9 kB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3408, allocations: 15.98 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.341, allocations: 23.97 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3411, allocations: 39.89 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3412, allocations: 4 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3413, allocations: 144.7 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3413, allocations: 0 / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003112/0.3416, allocations: 63.89 kB / 1.237 GB, free: 13.09 MB / 0.9981 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.0001686/0.3418, allocations: 121.4 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.3423, allocations: 248.4 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3423, allocations: 0 / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3426, allocations: 132.2 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3429, allocations: 37.58 kB / 1.238 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.3438, allocations: 478.1 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.3442, allocations: 0.7641 MB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.3443, allocations: 30.28 kB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.3444, allocations: 31.38 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3444, allocations: 0 / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.006419/0.3508, allocations: 3.067 MB / 1.242 GB, free: 8.16 MB / 0.9981 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