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.498/1.498, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001142, allocations: 167.5 kB / 316.3 MB, free: 3.242 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.843/1.843, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008667/0.0008663, allocations: 82.83 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.44e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8643/1.111, allocations: 134.9 MB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.112, allocations: 91.86 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01201/1.124, allocations: 4.625 MB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.003e-06/1.124, allocations: 0 / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.209e-05/1.124, allocations: 8 kB / 1.022 GB, free: 15.02 MB / 0.6511 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.0008455/1.125, allocations: 0.5112 MB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/1.125, allocations: 8.031 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/1.125, allocations: 31.62 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/1.125, allocations: 261.5 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/1.125, allocations: 12 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/1.125, allocations: 16 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000401/1.126, allocations: 199.8 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/1.126, allocations: 258.9 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.126, allocations: 4 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/1.126, allocations: 3.953 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.126, allocations: 4 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/1.128, allocations: 0.899 MB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/1.128, allocations: 226.6 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/1.128, allocations: 100.1 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/1.128, allocations: 4.234 kB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.129, allocations: 136.5 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/1.129, allocations: 3.938 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0004315/1.129, allocations: 197.4 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/1.129, allocations: 71.08 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/1.129, allocations: 163.1 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.129, allocations: 33.39 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/1.129, allocations: 161.8 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/1.13, allocations: 65.62 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/1.13, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.13, allocations: 341.3 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.13, allocations: 72.64 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/1.13, allocations: 136.8 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.13, allocations: 72.47 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.13, allocations: 7.938 kB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003876/1.131, allocations: 242.3 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.131, allocations: 8 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.131, allocations: 0 / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.131, allocations: 4 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/1.131, allocations: 43.41 kB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.131, allocations: 11.92 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/1.131, allocations: 43.97 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.131, allocations: 15.17 kB / 1.026 GB, free: 11.27 MB / 0.6511 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 () * 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.0001239/1.131, allocations: 131.3 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/1.131, allocations: 15.81 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/1.132, allocations: 229.3 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.132, allocations: 4 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.132, allocations: 0 / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.132, allocations: 3.984 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/1.133, allocations: 0.6391 MB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.133, allocations: 3.984 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.133, allocations: 31.92 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.133, allocations: 4 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.133, allocations: 2.312 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.133, allocations: 8 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.133, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/1.133, allocations: 314.6 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/1.133, allocations: 92.83 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/1.134, allocations: 10.88 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/1.134, allocations: 31.91 kB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.134, allocations: 38.44 kB / 1.027 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.134, allocations: 11.98 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.325e-05/1.134, allocations: 117.2 kB / 1.027 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.4e-07/1.134, allocations: 4 kB / 1.027 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003053/1.134, allocations: 51.88 kB / 1.027 GB, free: 9.719 MB / 0.6511 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) * 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.000207/1.134, allocations: 116.5 kB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003467/1.135, allocations: 210.5 kB / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.135, allocations: 0 / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/1.135, allocations: 107.9 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/1.135, allocations: 31.89 kB / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/1.136, allocations: 303.7 kB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.136, allocations: 0.7673 MB / 1.029 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001145/1.136, allocations: 26.06 kB / 1.029 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/1.137, allocations: 27.42 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.137, allocations: 7.938 kB / 1.029 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of Templates: time 0.005899/1.142, allocations: 2.4 MB / 1.031 GB, free: 5.895 MB / 0.6511 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