Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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.817/1.817, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00107/0.00107, allocations: 181.3 kB / 487 MB, free: 5.383 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.193/1.193, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008732/0.0008733, allocations: 90 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.083e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8136/1.03, allocations: 460.7 MB / 1.655 GB, free: 11.6 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.03, allocations: 93.53 kB / 1.655 GB, free: 11.55 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.016/2.046, allocations: 338.8 MB / 1.986 GB, free: 158.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 7.837e-05/2.046, allocations: 24 kB / 1.986 GB, free: 158.3 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001971/2.048, allocations: 1.328 MB / 1.987 GB, free: 156.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/2.048, allocations: 9.031 kB / 1.987 GB, free: 156.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/2.048, allocations: 138.4 kB / 1.987 GB, free: 156.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/2.05, allocations: 0.9725 MB / 1.988 GB, free: 155.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/2.05, allocations: 24 kB / 1.988 GB, free: 155.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/2.05, allocations: 55.98 kB / 1.989 GB, free: 155.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007701/2.051, allocations: 0.5233 MB / 1.989 GB, free: 155.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/2.052, allocations: 0.7249 MB / 1.99 GB, free: 154.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/2.052, allocations: 0 / 1.99 GB, free: 154.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/2.052, allocations: 4 kB / 1.99 GB, free: 154.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/2.052, allocations: 16 kB / 1.99 GB, free: 154.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/2.055, allocations: 3.758 MB / 1.993 GB, free: 150.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/2.055, allocations: 375.3 kB / 1.994 GB, free: 150.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/2.056, allocations: 273 kB / 1.994 GB, free: 149.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/2.056, allocations: 1.235 MB / 1.995 GB, free: 148.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/2.057, allocations: 298.8 kB / 1.996 GB, free: 148 MB / 1.135 GB Notification: Performance of pre-optimization done (n=63): time 1.713e-06/2.057, allocations: 4 kB / 1.996 GB, free: 148 MB / 1.135 GB Notification: Performance of matching and sorting (n=63): time 0.001275/2.058, allocations: 0.6333 MB / 1.996 GB, free: 147.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/2.058, allocations: 89.7 kB / 1.996 GB, free: 147.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/2.059, allocations: 0.6412 MB / 1.997 GB, free: 146.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/2.059, allocations: 25.7 kB / 1.997 GB, free: 146.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/2.059, allocations: 335.9 kB / 1.997 GB, free: 146.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/2.059, allocations: 208.9 kB / 1.997 GB, free: 146 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/2.059, allocations: 0 / 1.997 GB, free: 146 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/2.059, allocations: 333.9 kB / 1.998 GB, free: 145.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/2.059, allocations: 177.3 kB / 1.998 GB, free: 145.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/2.06, allocations: 303.6 kB / 1.998 GB, free: 145.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/2.06, allocations: 263 kB / 1.998 GB, free: 144.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/2.06, allocations: 4 kB / 1.998 GB, free: 144.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001172/2.061, allocations: 0.6674 MB / 1.999 GB, free: 144.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/2.062, allocations: 0.8719 MB / 2 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/2.062, allocations: 12 kB / 2 GB, free: 143.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/2.062, allocations: 80.83 kB / 2 GB, free: 143.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/2.062, allocations: 123.8 kB / 2 GB, free: 143.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/2.063, allocations: 0.6849 MB / 2.001 GB, free: 142.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/2.063, allocations: 79.45 kB / 2.001 GB, free: 142.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/2.063, allocations: 31.98 kB / 2.001 GB, free: 142.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-06/2.063, allocations: 4 kB / 2.001 GB, free: 142.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/2.065, allocations: 0.5459 MB / 2.001 GB, free: 141.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/2.065, allocations: 0 / 2.001 GB, free: 141.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/2.065, allocations: 85.28 kB / 2.002 GB, free: 141.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/2.065, allocations: 111.9 kB / 2.002 GB, free: 141.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/2.066, allocations: 0.693 MB / 2.002 GB, free: 140.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/2.066, allocations: 71.55 kB / 2.002 GB, free: 140.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/2.066, allocations: 24 kB / 2.002 GB, free: 140.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/2.066, allocations: 120.7 kB / 2.003 GB, free: 140.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/2.066, allocations: 90.88 kB / 2.003 GB, free: 140.5 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/2.068, allocations: 0.955 MB / 2.004 GB, free: 139.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/2.068, allocations: 12 kB / 2.004 GB, free: 139.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.068, allocations: 0 / 2.004 GB, free: 139.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/2.069, allocations: 0.81 MB / 2.004 GB, free: 138.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/2.071, allocations: 1.719 MB / 2.006 GB, free: 136.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/2.071, allocations: 0 / 2.006 GB, free: 136.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/2.072, allocations: 103.9 kB / 2.006 GB, free: 136.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/2.072, allocations: 141.7 kB / 2.006 GB, free: 136.6 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/2.072, allocations: 7.984 kB / 2.006 GB, free: 136.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006886/2.073, allocations: 1.284 MB / 2.008 GB, free: 135.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.073, allocations: 0 / 2.008 GB, free: 135.3 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/2.075, allocations: 1.235 MB / 2.009 GB, free: 134 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/2.075, allocations: 271.6 kB / 2.009 GB, free: 133.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/2.075, allocations: 0 / 2.009 GB, free: 133.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/2.076, allocations: 51.89 kB / 2.009 GB, free: 133.6 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/2.076, allocations: 48.5 kB / 2.009 GB, free: 133.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/2.076, allocations: 32.11 kB / 2.009 GB, free: 133.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0004376/2.076, allocations: 0.503 MB / 2.01 GB, free: 133.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001267/2.077, allocations: 0.6047 MB / 2.01 GB, free: 132.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/2.079, allocations: 0.8236 MB / 2.011 GB, free: 131.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001146/2.08, allocations: 0.8813 MB / 2.012 GB, free: 130.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/2.08, allocations: 0 / 2.012 GB, free: 130.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/2.08, allocations: 347.4 kB / 2.012 GB, free: 130.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/2.082, allocations: 356.5 kB / 2.013 GB, free: 130.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/2.084, allocations: 1.595 MB / 2.014 GB, free: 128.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/2.085, allocations: 1.191 MB / 2.015 GB, free: 127.3 MB / 1.135 GB Notification: Performance of SimCode: time 2.9e-07/2.085, allocations: 0 / 2.015 GB, free: 127.3 MB / 1.135 GB Notification: Performance of Templates: time 0.02955/2.114, allocations: 22.98 MB / 2.038 GB, free: 104.5 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches