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.193/2.193, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.0009604/0.0009604, allocations: 187.9 kB / 492.3 MB, free: 0.6133 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.391/1.391, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 100.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.596e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2845, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.355, allocations: 150.7 MB / 1.36 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.356, allocations: 69.59 kB / 1.36 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009736/1.366, allocations: 4.051 MB / 1.364 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.953e-06/1.366, allocations: 3.812 kB / 1.364 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.366, allocations: 3.875 kB / 1.364 GB, free: 34.64 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.0005803/1.366, allocations: 492.7 kB / 1.364 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.366, allocations: 11.09 kB / 1.364 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/1.366, allocations: 26.81 kB / 1.364 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/1.367, allocations: 272.4 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.367, allocations: 19 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/1.367, allocations: 18.5 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/1.367, allocations: 230.7 kB / 1.365 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.367, allocations: 4 kB / 1.365 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/1.367, allocations: 11.47 kB / 1.365 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.367, allocations: 6.938 kB / 1.365 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/1.367, allocations: 131.3 kB / 1.365 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.369, allocations: 0.8774 MB / 1.366 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007806/1.369, allocations: 288.5 kB / 1.366 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.369, allocations: 80.67 kB / 1.366 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.37, allocations: 6.906 kB / 1.366 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/1.37, allocations: 95.31 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/1.37, allocations: 3.938 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003035/1.37, allocations: 145.5 kB / 1.366 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.37, allocations: 81.11 kB / 1.366 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/1.37, allocations: 242.8 kB / 1.367 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.37, allocations: 25.7 kB / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.37, allocations: 157.7 kB / 1.367 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/1.37, allocations: 49.39 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.371, allocations: 7.188 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.371, allocations: 333.1 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/1.371, allocations: 43.64 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/1.371, allocations: 79.12 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/1.371, allocations: 60.86 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.371, allocations: 0 / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002169/1.371, allocations: 162.4 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/1.371, allocations: 184.3 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.371, allocations: 0 / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.371, allocations: 3.844 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.371, allocations: 36.28 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.371, allocations: 0 / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/1.372, allocations: 36.89 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/1.372, allocations: 7.188 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.372, allocations: 8.859 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001674/1.372, allocations: 114.7 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/1.372, allocations: 0 / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-06/1.372, allocations: 0 / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.372, allocations: 29.09 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/1.372, allocations: 3.812 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/1.372, allocations: 22.56 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1.372, allocations: 7.375 kB / 1.368 GB, free: 32.37 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 7.856e-05/1.372, allocations: 119.5 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/1.372, allocations: 26.56 kB / 1.368 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/1.372, allocations: 20.16 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.372, allocations: 6.812 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.372, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.372, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/1.373, allocations: 0.5414 MB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.373, allocations: 7.953 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/1.373, allocations: 29.64 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.373, allocations: 3.328 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/1.373, allocations: 3.844 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.373, allocations: 4 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.373, allocations: 0 / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/1.373, allocations: 314.2 kB / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/1.373, allocations: 111.3 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/1.373, allocations: 0 / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.374, allocations: 18.06 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/1.374, allocations: 7.109 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.374, allocations: 7.5 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001747/1.374, allocations: 194.1 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.374, allocations: 0 / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003357/1.374, allocations: 83.44 kB / 1.369 GB, free: 31.54 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.000153/1.374, allocations: 109.5 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003012/1.375, allocations: 184.5 kB / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.375, allocations: 0 / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/1.375, allocations: 59.94 kB / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/1.375, allocations: 49.45 kB / 1.37 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/1.376, allocations: 285.8 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.376, allocations: 0.7532 MB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001449/1.376, allocations: 30.98 kB / 1.371 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/1.376, allocations: 15.28 kB / 1.371 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.376, allocations: 4 kB / 1.371 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.005148/1.381, allocations: 2.386 MB / 1.373 GB, free: 30.4 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