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.38/2.38, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001427/0.001427, allocations: 183.5 kB / 0.4902 GB, free: 2.215 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.66/1.66, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001193/0.001193, allocations: 96.33 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 10.98 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.5294, allocations: 152 MB / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5297, allocations: 79.94 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.5403, allocations: 4.087 MB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5404, allocations: 0 / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.5404, allocations: 8 kB / 1.382 GB, free: 13.26 MB / 0.8855 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.0009612/0.5414, allocations: 0.5298 MB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5414, allocations: 8.562 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.5416, allocations: 31.62 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.542, allocations: 271.1 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.5421, allocations: 20.44 kB / 1.383 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.5421, allocations: 23.94 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.5427, allocations: 249.8 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5427, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.5427, allocations: 8 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5427, allocations: 4 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.5432, allocations: 189.6 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.5446, allocations: 0.8611 MB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.5456, allocations: 334.7 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5457, allocations: 256 / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.546, allocations: 119.6 kB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 4.899e-06/0.546, allocations: 0 / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006149/0.5466, allocations: 249.2 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.5467, allocations: 81.11 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.547, allocations: 241.7 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.547, allocations: 29.7 kB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5472, allocations: 168.2 kB / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5472, allocations: 43.34 kB / 1.385 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.5472, allocations: 4 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5474, allocations: 334.8 kB / 1.385 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5475, allocations: 63.88 kB / 1.385 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5477, allocations: 95.41 kB / 1.386 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5479, allocations: 74.5 kB / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5479, allocations: 0 / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004187/0.5483, allocations: 209.2 kB / 1.386 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.5484, allocations: 187.8 kB / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5485, allocations: 0 / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5485, allocations: 0 / 1.386 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.5486, allocations: 35.97 kB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5487, allocations: 3.984 kB / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.5488, allocations: 39.77 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.5488, allocations: 11.95 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.5489, allocations: 4 kB / 1.386 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002704/0.5491, allocations: 119.9 kB / 1.386 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5491, allocations: 7.984 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.5492, allocations: 0 / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5493, allocations: 31.92 kB / 1.386 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.5493, allocations: 0 / 1.386 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.5494, allocations: 27.86 kB / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5494, allocations: 4 kB / 1.386 GB, free: 8.355 MB / 0.8855 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 () * Number of clocked 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.0001851/0.5496, allocations: 221.1 kB / 1.386 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.5497, allocations: 23.67 kB / 1.387 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.5497, allocations: 29.83 kB / 1.387 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5497, allocations: 0 / 1.387 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5498, allocations: 3.938 kB / 1.387 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5498, allocations: 0 / 1.387 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.5505, allocations: 0.5751 MB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5505, allocations: 0 / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.5507, allocations: 39.91 kB / 1.387 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5507, allocations: 7.938 kB / 1.387 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5507, allocations: 4 kB / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5507, allocations: 0 / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5507, allocations: 0 / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.5514, allocations: 367.1 kB / 1.388 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.5515, allocations: 108.8 kB / 1.388 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.5515, allocations: 4 kB / 1.388 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5516, allocations: 20.05 kB / 1.388 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5517, allocations: 7.984 kB / 1.388 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.5517, allocations: 4 kB / 1.388 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002122/0.5519, allocations: 198 kB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5519, allocations: 0 / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004071/0.5524, allocations: 75.69 kB / 1.388 GB, free: 6.59 MB / 0.8855 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 () * 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.0001687/0.5525, allocations: 115.8 kB / 1.388 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.5531, allocations: 222 kB / 1.388 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5531, allocations: 0 / 1.388 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5533, allocations: 84.03 kB / 1.388 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.5536, allocations: 40.53 kB / 1.388 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.5545, allocations: 0.5118 MB / 1.389 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.5548, allocations: 0.7523 MB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.555, allocations: 25.92 kB / 1.39 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.555, allocations: 23.42 kB / 1.39 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of SimCode: time 3.8e-07/0.555, allocations: 3.938 kB / 1.39 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of Templates: time 0.005935/0.561, allocations: 2.093 MB / 1.392 GB, free: 2.719 MB / 0.8855 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