Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.y|TFreSet|freProTMix.yFreProInv|freProTMix.yFrePro",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.y|TFreSet|freProTMix.yFreProInv|freProTMix.yFrePro",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.001141, allocations: 181 kB / 316 MB, free: 3.535 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.358/1.358, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.001107/0.001107, allocations: 97.56 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.05e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6055/0.8297, allocations: 134.8 MB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.83, allocations: 74.2 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01212/0.8421, allocations: 4.661 MB / 1.021 GB, free: 140 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.8422, allocations: 4 kB / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008715/0.8431, allocations: 0.517 MB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8431, allocations: 8.031 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.8432, allocations: 31.62 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.8437, allocations: 279.1 kB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.8437, allocations: 11.91 kB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.8438, allocations: 12 kB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003237/0.8441, allocations: 138 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.8445, allocations: 202.4 kB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8446, allocations: 0 / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.8446, allocations: 0 / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.8446, allocations: 8 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.8459, allocations: 0.9632 MB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.8463, allocations: 168.2 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.8464, allocations: 78.8 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.8464, allocations: 3.984 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.8465, allocations: 41.75 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.8465, allocations: 0 / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003059/0.8468, allocations: 139.5 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8469, allocations: 85.11 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.8471, allocations: 207.2 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.8471, allocations: 25.7 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.8472, allocations: 142 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.8472, allocations: 50.67 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.8473, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.8474, allocations: 336.7 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.8475, allocations: 47.48 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.8476, allocations: 78.12 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9e-05/0.8477, allocations: 51.73 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8477, allocations: 0 / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002547/0.848, allocations: 171.5 kB / 1.025 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.8481, allocations: 180.5 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8481, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8481, allocations: 4 kB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.8483, allocations: 35.97 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8483, allocations: 4 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.8485, allocations: 35.39 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.8485, allocations: 4 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.8485, allocations: 4 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001793/0.8487, allocations: 109.1 kB / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.8487, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.249e-06/0.8487, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.8489, allocations: 32.02 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.8489, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.849, allocations: 19.83 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.849, allocations: 7.984 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (freProTMix.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.265e-05/0.8491, allocations: 108.1 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.8492, allocations: 19.72 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.8492, allocations: 25.08 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8493, allocations: 4 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8493, allocations: 3.938 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8493, allocations: 3.906 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.8498, allocations: 0.5049 MB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.8498, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.85, allocations: 35.39 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.8501, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.8501, allocations: 3.984 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8501, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8501, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003945/0.8505, allocations: 341.1 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.8506, allocations: 104.9 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.8506, allocations: 0 / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.8508, allocations: 15.89 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.8508, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8508, allocations: 7.984 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000145/0.851, allocations: 168.6 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003703/0.8514, allocations: 83.75 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001286/0.8515, allocations: 104.9 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.8518, allocations: 183.9 kB / 1.027 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8518, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.8519, allocations: 63.25 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.8523, allocations: 55.48 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.853, allocations: 286.1 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.8535, allocations: 0.7846 MB / 1.028 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.8535, allocations: 3.938 kB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of Templates: time 0.006606/0.8601, allocations: 3.011 MB / 1.031 GB, free: 6.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches