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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001102/0.001102, allocations: 179.3 kB / 326.5 MB, free: 2.25 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.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009807/0.0009803, allocations: 106.3 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.4396, allocations: 134.6 MB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4398, allocations: 79.94 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.4521, allocations: 5.016 MB / 1.037 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4521, allocations: 0 / 1.037 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.4522, allocations: 8 kB / 1.037 GB, free: 4.082 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009162/0.4531, allocations: 0.5415 MB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4532, allocations: 8.031 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.4533, allocations: 31.62 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.4537, allocations: 297.6 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4537, allocations: 16.44 kB / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.4538, allocations: 23.94 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.4543, allocations: 255.4 kB / 1.038 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4543, allocations: 3.938 kB / 1.038 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.4543, allocations: 16 kB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4544, allocations: 4 kB / 1.038 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.4548, allocations: 181 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.4562, allocations: 1.025 MB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.4568, allocations: 218.8 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.4568, allocations: 4 kB / 1.039 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4568, allocations: 42.52 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.4568, allocations: 0 / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000682/0.4575, allocations: 263 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.4576, allocations: 77.11 kB / 1.039 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.4579, allocations: 249.8 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4579, allocations: 29.7 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.458, allocations: 156.3 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.4581, allocations: 59.14 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.4581, allocations: 8 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4583, allocations: 330.8 kB / 1.04 GB, free: 52 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.4585, allocations: 68.05 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4586, allocations: 103.4 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.4588, allocations: 78.42 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4588, allocations: 0 / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004019/0.4592, allocations: 217.3 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4594, allocations: 186 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4594, allocations: 8.016 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4594, allocations: 0 / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4596, allocations: 35.92 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4596, allocations: 4 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.4597, allocations: 23.89 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4597, allocations: 7.984 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4598, allocations: 4 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002621/0.46, allocations: 142 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.46, allocations: 3.938 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.46, allocations: 0 / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4602, allocations: 35.94 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.4602, allocations: 4 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.4603, allocations: 19.83 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4603, allocations: 12.03 kB / 1.041 GB, free: 15.09 MB / 0.698 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 () * Number of clocked 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 0.0002004/0.4605, allocations: 221.1 kB / 1.041 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.4606, allocations: 19.72 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.4607, allocations: 29.83 kB / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4607, allocations: 3.953 kB / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4607, allocations: 0 / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4607, allocations: 0 / 1.041 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.4615, allocations: 0.6005 MB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4615, allocations: 7.984 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.4617, allocations: 27.98 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4617, allocations: 7.984 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.4617, allocations: 4 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4617, allocations: 0 / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4617, allocations: 4 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.4624, allocations: 414.9 kB / 1.042 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.4624, allocations: 100.8 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.4625, allocations: 11.98 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.4626, allocations: 12.06 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4627, allocations: 11.98 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.4627, allocations: 4 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002025/0.4629, allocations: 205.9 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4629, allocations: 0 / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003561/0.4633, allocations: 75.69 kB / 1.043 GB, free: 13.24 MB / 0.698 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 () * Number of clocked 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.0001594/0.4634, allocations: 115.2 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.464, allocations: 233.9 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.464, allocations: 0 / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4641, allocations: 84.03 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4646, allocations: 54.55 kB / 1.043 GB, free: 12.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.4654, allocations: 0.5446 MB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4658, allocations: 0.7562 MB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.4659, allocations: 29.94 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.466, allocations: 23.42 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.466, allocations: 0 / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of Templates: time 0.0055/0.4715, allocations: 2.288 MB / 1.047 GB, free: 9.121 MB / 0.698 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