Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009843/0.0009842, allocations: 172.9 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008855, allocations: 91.92 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.093e-05, allocations: 3.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.381, allocations: 150.1 MB / 1.353 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/1.382, allocations: 70.28 kB / 1.353 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01042/1.392, allocations: 4.017 MB / 1.357 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.392, allocations: 0 / 1.357 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.392, allocations: 7.688 kB / 1.357 GB, free: 33.85 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006173/1.393, allocations: 0.49 MB / 1.357 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.393, allocations: 11.47 kB / 1.357 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/1.393, allocations: 23.19 kB / 1.357 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/1.393, allocations: 272.4 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/1.393, allocations: 7.688 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/1.393, allocations: 11.31 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002952/1.394, allocations: 131 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/1.394, allocations: 200.6 kB / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.394, allocations: 0 / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.394, allocations: 0 / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/1.394, allocations: 3.875 kB / 1.358 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.395, allocations: 0.7995 MB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007799/1.396, allocations: 282.8 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.396, allocations: 75.56 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/1.396, allocations: 3.812 kB / 1.359 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/1.396, allocations: 101.2 kB / 1.359 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.396, allocations: 4 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003041/1.397, allocations: 137.6 kB / 1.359 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.397, allocations: 77.11 kB / 1.359 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.397, allocations: 185.7 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.397, allocations: 25.7 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.397, allocations: 170.7 kB / 1.359 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/1.397, allocations: 37.69 kB / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/1.397, allocations: 0 / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.397, allocations: 333.8 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/1.398, allocations: 47.69 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/1.398, allocations: 71.59 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/1.398, allocations: 46.31 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.398, allocations: 0 / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002048/1.398, allocations: 144.4 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.398, allocations: 192.8 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.398, allocations: 0 / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.398, allocations: 0 / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.398, allocations: 44.27 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.398, allocations: 3.781 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.398, allocations: 26.69 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/1.398, allocations: 4.062 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.398, allocations: 5.688 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001576/1.399, allocations: 102.9 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/1.399, allocations: 3.984 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-06/1.399, allocations: 3.953 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.399, allocations: 29.31 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/1.399, allocations: 3.812 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/1.399, allocations: 18.83 kB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.399, allocations: 3.844 kB / 1.361 GB, free: 31.63 MB / 0.8386 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001052/1.399, allocations: 104.9 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.399, allocations: 19.41 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/1.399, allocations: 27.2 kB / 1.361 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.399, allocations: 3.953 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.399, allocations: 4 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.399, allocations: 6.953 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/1.4, allocations: 479.7 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.4, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/1.4, allocations: 38.86 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.4, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.4, allocations: 3.953 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.4, allocations: 0 / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.4, allocations: 5.266 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/1.4, allocations: 301.9 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/1.4, allocations: 98.19 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/1.4, allocations: 0 / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.4, allocations: 18.72 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/1.4, allocations: 7.312 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.4, allocations: 8.609 kB / 1.362 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000136/1.401, allocations: 158.3 kB / 1.362 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.401, allocations: 0 / 1.362 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000343/1.401, allocations: 71.84 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 1 ($whenCondition1) * 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.0001857/1.401, allocations: 99.95 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000285/1.401, allocations: 170.1 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.401, allocations: 0 / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/1.402, allocations: 59.89 kB / 1.362 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.402, allocations: 40.3 kB / 1.362 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/1.403, allocations: 277.2 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/1.403, allocations: 0.7556 MB / 1.363 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000147/1.403, allocations: 33.44 kB / 1.363 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/1.403, allocations: 17.22 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.403, allocations: 3.938 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.005163/1.408, allocations: 1.991 MB / 1.365 GB, free: 29.75 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches