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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000991/0.0009911, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 11.94 kB / 0.8708 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.7994, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.001849/0.8013, allocations: 1.039 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.8032, allocations: 1.131 MB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.8035, allocations: 4 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.409e-05/0.8036, allocations: 15.8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.8038, allocations: 47.8 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.8041, allocations: 71.92 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.8044, allocations: 180.5 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.8046, allocations: 123.3 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.8047, allocations: 67.64 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.8048, allocations: 71.5 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.8049, allocations: 8 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.991e-05/0.8049, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.8049, allocations: 31.84 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.805, allocations: 65.58 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.8053, allocations: 341 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.8053, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8053, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8053, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 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.0008304/0.8062, allocations: 0.5182 MB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8062, allocations: 11.98 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.8063, allocations: 35.62 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.8067, allocations: 283 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.8068, allocations: 20.44 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.8068, allocations: 19.95 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.8072, allocations: 233.9 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8073, allocations: 3.938 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.8073, allocations: 8 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.8073, allocations: 8 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.8076, allocations: 149.7 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.8088, allocations: 0.8563 MB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.8095, allocations: 206.7 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.8096, allocations: 4 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.8096, allocations: 34.56 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.8096, allocations: 0 / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000503/0.8101, allocations: 189.3 kB / 1.026 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8102, allocations: 59.34 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.8104, allocations: 248.9 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.8104, allocations: 33.69 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.8106, allocations: 164 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.8106, allocations: 43.44 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.8106, allocations: 4 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8108, allocations: 330.8 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.8109, allocations: 51.97 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8111, allocations: 102 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.8112, allocations: 67.89 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8112, allocations: 7.938 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003573/0.8116, allocations: 197.2 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.8118, allocations: 0.5319 MB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8118, allocations: 0 / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.8119, allocations: 4 kB / 1.028 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.812, allocations: 35.92 kB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.812, allocations: 3.984 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8121, allocations: 19.84 kB / 1.028 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.8122, allocations: 8 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.8122, allocations: 1.25 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002399/0.8124, allocations: 147.8 kB / 1.028 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8124, allocations: 4 kB / 1.028 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.8125, allocations: 0 / 1.028 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.8126, allocations: 39.92 kB / 1.028 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.8126, allocations: 0 / 1.028 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.8127, allocations: 19.8 kB / 1.028 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.8127, allocations: 16.14 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (freProTMix.con.con1.y,freProTMix.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001667/0.8129, allocations: 217.1 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.8129, allocations: 19.72 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.813, allocations: 29.81 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.813, allocations: 4 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.813, allocations: 0 / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.813, allocations: 3.953 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.8133, allocations: 297.5 kB / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8134, allocations: 4 kB / 1.029 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.8135, allocations: 23.98 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8135, allocations: 11.94 kB / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.8135, allocations: 4 kB / 1.029 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8135, allocations: 3.984 kB / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8135, allocations: 0 / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.814, allocations: 321.7 kB / 1.029 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.8141, allocations: 96.94 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.8141, allocations: 4 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8142, allocations: 4 kB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.8143, allocations: 11.98 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.8143, allocations: 4 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001578/0.8145, allocations: 172.5 kB / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8145, allocations: 4.062 kB / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003582/0.8148, allocations: 75.59 kB / 1.03 GB, free: 7.543 MB / 0.7794 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000123/0.815, allocations: 111.2 kB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.8154, allocations: 204.1 kB / 1.03 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8154, allocations: 0 / 1.03 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.8155, allocations: 63.86 kB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.8159, allocations: 42.02 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.8166, allocations: 498.9 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.8169, allocations: 0.7521 MB / 1.031 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.8171, allocations: 25.94 kB / 1.031 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.8171, allocations: 19.44 kB / 1.031 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8171, allocations: 0 / 1.031 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of Templates: time 0.00451/0.8216, allocations: 1.806 MB / 1.033 GB, free: 4.027 MB / 0.7794 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