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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.809/1.809, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001003/0.001003, allocations: 177.3 kB / 487 MB, free: 5.348 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008128/0.0008128, allocations: 98.12 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.81e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6856, allocations: 150 MB / 1.352 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.6858, allocations: 66.62 kB / 1.352 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009042/0.6949, allocations: 3.71 MB / 1.355 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.6949, allocations: 5.156 kB / 1.355 GB, free: 15.68 MB / 0.8073 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.0004852/0.6954, allocations: 0.493 MB / 1.356 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6955, allocations: 10.59 kB / 1.356 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.6955, allocations: 30.78 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.6958, allocations: 269.3 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6958, allocations: 6.688 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.6959, allocations: 12.66 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002416/0.6961, allocations: 131.2 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.6964, allocations: 192.6 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6964, allocations: 0 / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.6965, allocations: 7.938 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6965, allocations: 9.656 kB / 1.357 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.6974, allocations: 0.8002 MB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.6982, allocations: 293.1 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.6983, allocations: 80.92 kB / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.6983, allocations: 1.406 kB / 1.358 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.6984, allocations: 97.27 kB / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.6985, allocations: 0 / 1.358 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002509/0.6987, allocations: 137 kB / 1.358 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.6987, allocations: 82.2 kB / 1.358 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.6989, allocations: 191.4 kB / 1.358 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.6989, allocations: 25.7 kB / 1.358 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.699, allocations: 144.4 kB / 1.358 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.699, allocations: 46.06 kB / 1.358 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.699, allocations: 0 / 1.358 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.6991, allocations: 329.5 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.6992, allocations: 38.44 kB / 1.359 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.6992, allocations: 75.28 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.6993, allocations: 50.73 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6993, allocations: 1.688 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002201/0.6996, allocations: 152.3 kB / 1.359 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.6996, allocations: 183.8 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6996, allocations: 4 kB / 1.359 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6996, allocations: 5.656 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.6998, allocations: 37.83 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6998, allocations: 4.703 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.6999, allocations: 22.89 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.7, allocations: 4.75 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.7, allocations: 11.81 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001606/0.7001, allocations: 99.88 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.7002, allocations: 2.516 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/0.7002, allocations: 0.8125 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.7003, allocations: 34.45 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-06/0.7003, allocations: 1.438 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.7004, allocations: 18.34 kB / 1.359 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.7004, allocations: 8.547 kB / 1.359 GB, free: 13.45 MB / 0.8073 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 4.999e-05/0.7005, allocations: 103.4 kB / 1.359 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.7005, allocations: 15.91 kB / 1.36 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.7005, allocations: 24.78 kB / 1.36 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7006, allocations: 9.688 kB / 1.36 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7006, allocations: 0 / 1.36 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7006, allocations: 1.031 kB / 1.36 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.701, allocations: 490.7 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.701, allocations: 0 / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.7011, allocations: 30.95 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7011, allocations: 5.031 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.7012, allocations: 6.047 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7012, allocations: 4.5 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7012, allocations: 0.7812 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002957/0.7015, allocations: 298.4 kB / 1.36 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.7015, allocations: 94.27 kB / 1.36 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.7015, allocations: 2.078 kB / 1.36 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.7017, allocations: 20.91 kB / 1.36 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.7017, allocations: 7.406 kB / 1.36 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.7017, allocations: 4.922 kB / 1.36 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001037/0.7019, allocations: 153 kB / 1.361 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003333/0.7022, allocations: 75.22 kB / 1.361 GB, free: 12.68 MB / 0.8073 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.000105/0.7023, allocations: 113 kB / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.7026, allocations: 171.2 kB / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.7026, allocations: 0 / 1.361 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.7027, allocations: 61.92 kB / 1.361 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.703, allocations: 43.58 kB / 1.361 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.7036, allocations: 276.5 kB / 1.361 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.7039, allocations: 0.7724 MB / 1.362 GB, free: 27.72 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7039, allocations: 1.344 kB / 1.362 GB, free: 27.72 MB / 0.823 GB Notification: Performance of Templates: time 0.005419/0.7093, allocations: 2.64 MB / 1.365 GB, free: 26.56 MB / 0.823 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