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.374/2.374, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001068/0.001068, allocations: 171.4 kB / 498.1 MB, free: 5.688 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.608/1.608, allocations: 223.2 MB / 0.7949 GB, free: 18.82 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.0009799/0.0009799, allocations: 106.2 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 10.16 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.5153, allocations: 150.8 MB / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5156, allocations: 71.95 kB / 1.37 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.5264, allocations: 4.059 MB / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.247e-06/0.5264, allocations: 0 / 1.374 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.341e-05/0.5265, allocations: 4 kB / 1.374 GB, free: 14.42 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.00094/0.5274, allocations: 0.5221 MB / 1.375 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5275, allocations: 8.031 kB / 1.375 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.5276, allocations: 31.62 kB / 1.375 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.528, allocations: 274.3 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.5281, allocations: 16.44 kB / 1.375 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.5282, allocations: 27.98 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.5287, allocations: 253.8 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5287, allocations: 0 / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.5288, allocations: 4 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.5288, allocations: 8 kB / 1.375 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.5292, allocations: 181.7 kB / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.5307, allocations: 0.8689 MB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.5317, allocations: 326.7 kB / 1.377 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.5317, allocations: 8 kB / 1.377 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.532, allocations: 115.4 kB / 1.377 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.195e-06/0.532, allocations: 3.938 kB / 1.377 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0005854/0.5326, allocations: 255.3 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.5327, allocations: 77.11 kB / 1.377 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.533, allocations: 237.8 kB / 1.377 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.533, allocations: 37.69 kB / 1.377 GB, free: 11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.5331, allocations: 160.3 kB / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.5332, allocations: 51.2 kB / 1.378 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-06/0.5332, allocations: 4 kB / 1.378 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5333, allocations: 331 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5336, allocations: 63.97 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5337, allocations: 104.1 kB / 1.378 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5339, allocations: 71.92 kB / 1.378 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5339, allocations: 32 / 1.378 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003911/0.5343, allocations: 205.3 kB / 1.378 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.5344, allocations: 185.8 kB / 1.378 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5344, allocations: 0 / 1.378 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5345, allocations: 4 kB / 1.378 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5346, allocations: 35.91 kB / 1.378 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5347, allocations: 4 kB / 1.379 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.5348, allocations: 31.83 kB / 1.379 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5348, allocations: 7.953 kB / 1.379 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.5348, allocations: 4 kB / 1.379 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002322/0.5351, allocations: 127.8 kB / 1.379 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.5351, allocations: 0 / 1.379 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.5351, allocations: 0 / 1.379 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.5352, allocations: 27.98 kB / 1.379 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.5352, allocations: 0 / 1.379 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.5354, allocations: 31.86 kB / 1.379 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5354, allocations: 4 kB / 1.379 GB, free: 9.531 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.0001845/0.5356, allocations: 217.1 kB / 1.379 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.5356, allocations: 27.67 kB / 1.379 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.926e-05/0.5357, allocations: 25.83 kB / 1.379 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5357, allocations: 0 / 1.379 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5357, allocations: 4 kB / 1.379 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5357, allocations: 4 kB / 1.379 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.5364, allocations: 0.5685 MB / 1.38 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5365, allocations: 4 kB / 1.38 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.5366, allocations: 35.97 kB / 1.38 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5366, allocations: 0 / 1.38 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5367, allocations: 8 kB / 1.38 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5367, allocations: 0 / 1.38 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5367, allocations: 4 kB / 1.38 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.5373, allocations: 377.1 kB / 1.38 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5374, allocations: 116.7 kB / 1.38 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.5374, allocations: 0 / 1.38 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.5376, allocations: 20.05 kB / 1.38 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.5376, allocations: 15.92 kB / 1.38 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.5376, allocations: 0 / 1.38 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000207/0.5378, allocations: 202 kB / 1.38 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5378, allocations: 0 / 1.38 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003743/0.5382, allocations: 75.94 kB / 1.38 GB, free: 7.742 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.0001624/0.5384, allocations: 103.2 kB / 1.38 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.5389, allocations: 219.8 kB / 1.381 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5389, allocations: 0 / 1.381 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.5391, allocations: 90.08 kB / 1.381 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5395, allocations: 44.52 kB / 1.381 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.5404, allocations: 0.5041 MB / 1.381 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.5408, allocations: 0.7562 MB / 1.382 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.541, allocations: 21.95 kB / 1.382 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.541, allocations: 23.42 kB / 1.382 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/0.541, allocations: 4 kB / 1.382 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of Templates: time 0.006092/0.5471, allocations: 2.078 MB / 1.384 GB, free: 3.879 MB / 0.8855 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