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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.906 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.001015/0.001015, allocations: 180.8 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.746/1.746, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.00093/0.00093, allocations: 80.53 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.677e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7491/0.9642, allocations: 134.8 MB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.9644, allocations: 74.08 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.976, allocations: 4.969 MB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/0.976, allocations: 0 / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.976, allocations: 8 kB / 1.022 GB, free: 14.89 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006189/0.9767, allocations: 0.4986 MB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9767, allocations: 8.031 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.9768, allocations: 31.62 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.9772, allocations: 293.8 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.9772, allocations: 4 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.9772, allocations: 16 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002541/0.9775, allocations: 135.4 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.9778, allocations: 200.9 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9779, allocations: 3.984 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.9779, allocations: 4 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.9779, allocations: 4 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.9791, allocations: 0.9617 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.9794, allocations: 169.5 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.9796, allocations: 70.33 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.9796, allocations: 12.16 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.9796, allocations: 38.2 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.9796, allocations: 0 / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0002937/0.9799, allocations: 153.5 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.98, allocations: 81.11 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.9802, allocations: 204.6 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.9802, allocations: 25.7 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9804, allocations: 171.5 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.9804, allocations: 46.27 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.9804, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9806, allocations: 330.2 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.9806, allocations: 45.25 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.9807, allocations: 78.94 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.9808, allocations: 55.42 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9808, allocations: 0 / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002321/0.9811, allocations: 161.8 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-05/0.9812, allocations: 193.2 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9812, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9812, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.9814, allocations: 35.86 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.9814, allocations: 4 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.9815, allocations: 23.83 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.9816, allocations: 11.94 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.9816, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001655/0.9817, allocations: 106.7 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.9818, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.9818, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.9819, allocations: 31.92 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.9819, allocations: 3.953 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.982, allocations: 15.98 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.982, allocations: 8.031 kB / 1.026 GB, free: 11.15 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 8.608e-05/0.9821, allocations: 108.4 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.9822, allocations: 19.72 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.9822, allocations: 20.89 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9822, allocations: 4 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9822, allocations: 0 / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9823, allocations: 7.891 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.9828, allocations: 0.5091 MB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9829, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.983, allocations: 42.59 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.983, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.9831, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9831, allocations: 3.938 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9831, allocations: 3.953 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.9834, allocations: 326.9 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.9835, allocations: 104.3 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.9836, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.9837, allocations: 15.94 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.9838, allocations: 11.98 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.9838, allocations: 0 / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001358/0.9839, allocations: 172.8 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9839, allocations: 0 / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000358/0.9843, allocations: 79.53 kB / 1.027 GB, free: 9.871 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.0001378/0.9844, allocations: 104.3 kB / 1.027 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.9847, allocations: 181 kB / 1.028 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9847, allocations: 0 / 1.028 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.9848, allocations: 66.42 kB / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.9852, allocations: 52.2 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.9858, allocations: 295.2 kB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.9862, allocations: 0.764 MB / 1.029 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.9863, allocations: 42.03 kB / 1.029 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.9864, allocations: 15.44 kB / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of SimCode: time 1.783e-06/0.9864, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of Templates: time 0.005271/0.9917, allocations: 2.316 MB / 1.031 GB, free: 6.195 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