Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 167.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009865/0.0009863, allocations: 85.05 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 9 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.4193, allocations: 134.7 MB / 1.032 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.4197, allocations: 107.8 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.432, allocations: 4.701 MB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.188e-06/0.432, allocations: 0 / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.432, allocations: 11.94 kB / 1.036 GB, free: 4.789 MB / 0.6823 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.000744/0.4328, allocations: 0.524 MB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4328, allocations: 12.03 kB / 1.037 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.4329, allocations: 31.62 kB / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.4333, allocations: 258.7 kB / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4333, allocations: 20.56 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.4334, allocations: 35.98 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.4339, allocations: 315.6 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4339, allocations: 0 / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.434, allocations: 12 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.434, allocations: 11.95 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.4345, allocations: 242.1 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.436, allocations: 0.9638 MB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.4365, allocations: 253.6 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4365, allocations: 240 / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.4368, allocations: 156 kB / 1.039 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.4369, allocations: 4 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0007205/0.4376, allocations: 337.3 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4377, allocations: 63.36 kB / 1.039 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.4378, allocations: 191.1 kB / 1.04 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4379, allocations: 41.7 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.438, allocations: 156.6 kB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.4381, allocations: 67.06 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.4381, allocations: 8 kB / 1.04 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4382, allocations: 334.8 kB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4384, allocations: 91.95 kB / 1.04 GB, free: 492 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4387, allocations: 153.1 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.4389, allocations: 99.73 kB / 1.041 GB, free: 220 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4389, allocations: 0 / 1.041 GB, free: 220 kB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005362/0.4395, allocations: 308.7 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4395, allocations: 8 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4395, allocations: 4.094 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4395, allocations: 11.94 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.4397, allocations: 43.84 kB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4398, allocations: 7.984 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.44, allocations: 51.77 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.44, allocations: 12 kB / 1.041 GB, free: 15.77 MB / 0.698 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,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.4402, allocations: 173.8 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4403, allocations: 23.72 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005633/0.4408, allocations: 280.2 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4408, allocations: 8 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4409, allocations: 3.938 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4409, allocations: 3.984 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.4419, allocations: 0.7298 MB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4419, allocations: 0 / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.442, allocations: 35.97 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4421, allocations: 0 / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.4421, allocations: 8 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4421, allocations: 3.953 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4421, allocations: 0 / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.4426, allocations: 363.1 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4426, allocations: 100.8 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.4427, allocations: 8 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4429, allocations: 35.97 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.443, allocations: 43.89 kB / 1.043 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.443, allocations: 8 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001024/0.4431, allocations: 140.1 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4432, allocations: 0 / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003051/0.4435, allocations: 60 kB / 1.043 GB, free: 13.66 MB / 0.698 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.4437, allocations: 127.7 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.4441, allocations: 259.7 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4442, allocations: 320 / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4444, allocations: 132.4 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4447, allocations: 24.17 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.4455, allocations: 0.5428 MB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4458, allocations: 0.7683 MB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.4459, allocations: 26.22 kB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.446, allocations: 27.44 kB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.446, allocations: 4 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of Templates: time 0.005631/0.4516, allocations: 2.554 MB / 1.047 GB, free: 9.203 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches