Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.95 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.0009817/0.0009817, allocations: 171.2 kB / 491.2 MB, free: 1.609 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.657/1.657, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0008599/0.0008598, allocations: 87.89 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.631e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3066, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.499, allocations: 151.3 MB / 1.36 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.499, allocations: 84.38 kB / 1.36 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009704/1.509, allocations: 4.055 MB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.509, allocations: 0 / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.509, allocations: 3.844 kB / 1.364 GB, free: 33.08 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.0005944/1.509, allocations: 0.495 MB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.509, allocations: 7.688 kB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/1.509, allocations: 27.06 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/1.51, allocations: 273.5 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.51, allocations: 8.625 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/1.51, allocations: 10.88 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002563/1.51, allocations: 129.9 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/1.51, allocations: 195 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.51, allocations: 0 / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/1.51, allocations: 0 / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.51, allocations: 3.844 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/1.512, allocations: 0.8001 MB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/1.512, allocations: 284.4 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/1.512, allocations: 80.64 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/1.512, allocations: 0 / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/1.513, allocations: 95.78 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/1.513, allocations: 0 / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002492/1.513, allocations: 138.2 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.513, allocations: 84.55 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/1.513, allocations: 194.1 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/1.513, allocations: 25.7 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/1.513, allocations: 161.8 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/1.513, allocations: 44.08 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.513, allocations: 0 / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.513, allocations: 331 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/1.513, allocations: 35.25 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/1.514, allocations: 82.89 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/1.514, allocations: 50.73 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.514, allocations: 4.156 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000184/1.514, allocations: 154.8 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/1.514, allocations: 185.8 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.514, allocations: 3.938 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.514, allocations: 0 / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/1.514, allocations: 32.75 kB / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.514, allocations: 0 / 1.368 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.514, allocations: 28.16 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.514, allocations: 11.75 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/1.514, allocations: 3.844 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001454/1.514, allocations: 96.27 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/1.514, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/1.514, allocations: 3.969 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/1.515, allocations: 35.16 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/1.515, allocations: 0 / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/1.515, allocations: 11.69 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/1.515, allocations: 14.48 kB / 1.368 GB, free: 30.86 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 8.277e-05/1.515, allocations: 104.8 kB / 1.368 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.515, allocations: 19.34 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/1.515, allocations: 26.95 kB / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/1.515, allocations: 0 / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.515, allocations: 3.875 kB / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.515, allocations: 0 / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/1.515, allocations: 486.6 kB / 1.369 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.515, allocations: 0 / 1.369 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.515, allocations: 35.61 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.515, allocations: 7.703 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.515, allocations: 0 / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.515, allocations: 0 / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.515, allocations: 0 / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/1.516, allocations: 297.5 kB / 1.369 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/1.516, allocations: 103.9 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/1.516, allocations: 10.83 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.516, allocations: 14.22 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/1.516, allocations: 6.734 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/1.516, allocations: 10.75 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001133/1.516, allocations: 146.9 kB / 1.369 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.51e-07/1.516, allocations: 0 / 1.369 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003121/1.517, allocations: 76.39 kB / 1.369 GB, free: 30.1 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.0001334/1.517, allocations: 105.5 kB / 1.369 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002503/1.517, allocations: 171.6 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.517, allocations: 0 / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/1.517, allocations: 63.38 kB / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.517, allocations: 46.34 kB / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/1.518, allocations: 272 kB / 1.37 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.518, allocations: 0.7557 MB / 1.371 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001356/1.518, allocations: 21.92 kB / 1.371 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/1.518, allocations: 17.75 kB / 1.371 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.518, allocations: 0 / 1.371 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.004644/1.523, allocations: 1.99 MB / 1.373 GB, free: 29.01 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches