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") [: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 10.0.0-master/package.mo): time 1.956/1.956, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001076/0.001076, allocations: 169.4 kB / 490.8 MB, free: 1.996 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.334/1.334, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009505/0.0009504, allocations: 84.69 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.203e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6549/0.9079, allocations: 151.2 MB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.9083, allocations: 86.36 kB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01055/0.9189, allocations: 3.755 MB / 1.363 GB, free: 17.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.9189, allocations: 5.375 kB / 1.363 GB, free: 17.02 MB / 0.823 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.0006426/0.9196, allocations: 0.4924 MB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9196, allocations: 8.906 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.9197, allocations: 34.22 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.9201, allocations: 268.7 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.9201, allocations: 10.78 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.9202, allocations: 13.97 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003101/0.9205, allocations: 127.2 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.9209, allocations: 198.1 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9209, allocations: 0 / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.9209, allocations: 1.062 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.9209, allocations: 7.25 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.9221, allocations: 0.7983 MB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.923, allocations: 285.1 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.9231, allocations: 83.28 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.9231, allocations: 2.703 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.9233, allocations: 96.44 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.9233, allocations: 0 / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002791/0.9236, allocations: 134.9 kB / 1.365 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.9236, allocations: 79.2 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.9238, allocations: 184.7 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.9239, allocations: 30.95 kB / 1.366 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.9239, allocations: 146.1 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.924, allocations: 49.73 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.924, allocations: 0 / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9241, allocations: 329.4 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.9242, allocations: 39.66 kB / 1.366 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.9243, allocations: 75.92 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.9244, allocations: 48.11 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9244, allocations: 0 / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002321/0.9246, allocations: 155 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.9247, allocations: 178.9 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9247, allocations: 6.516 kB / 1.367 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9247, allocations: 9.609 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.9249, allocations: 40.62 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.9249, allocations: 5.562 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.9251, allocations: 20.7 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.9251, allocations: 5.25 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.9251, allocations: 3.719 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001705/0.9253, allocations: 100.2 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.9253, allocations: 1.031 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.9253, allocations: 4.781 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.9254, allocations: 27.31 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.9255, allocations: 5.609 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.9256, allocations: 18.8 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.9256, allocations: 8.109 kB / 1.367 GB, free: 30.79 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.079e-05/0.9257, allocations: 115 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.9257, allocations: 16.19 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.9258, allocations: 20.2 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9258, allocations: 2 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9258, allocations: 4 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.9258, allocations: 8.906 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.9262, allocations: 487.8 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9263, allocations: 1.094 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.9264, allocations: 33.67 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.9264, allocations: 2.344 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9265, allocations: 3.688 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9265, allocations: 5.25 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9265, allocations: 0 / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003609/0.9268, allocations: 301.6 kB / 1.368 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.9269, allocations: 95.48 kB / 1.368 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.9269, allocations: 0.9062 kB / 1.368 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.9271, allocations: 18.83 kB / 1.368 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.9271, allocations: 9.609 kB / 1.368 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.9272, allocations: 4.422 kB / 1.368 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001403/0.9273, allocations: 150 kB / 1.368 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003699/0.9277, allocations: 80.22 kB / 1.368 GB, free: 30.02 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.000143/0.9278, allocations: 101.7 kB / 1.368 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.9281, allocations: 169.2 kB / 1.369 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9282, allocations: 4.062 kB / 1.369 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.9282, allocations: 64.39 kB / 1.369 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.9286, allocations: 38.28 kB / 1.369 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.9293, allocations: 271.3 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.9297, allocations: 0.778 MB / 1.37 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.9297, allocations: 0 / 1.37 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.0074/0.9371, allocations: 2.654 MB / 1.372 GB, free: 28.89 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