Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [: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.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009879/0.0009879, allocations: 185.2 kB / 487 MB, free: 5.391 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008073/0.0008072, allocations: 95.2 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1888, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.157/3.346, allocations: 1.919 GB / 3.124 GB, free: 404.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/3.346, allocations: 91.94 kB / 3.124 GB, free: 404.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553/4.899, allocations: 0.6673 GB / 3.792 GB, free: 162.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.578e-05/4.899, allocations: 27.98 kB / 3.792 GB, free: 162.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002801/4.902, allocations: 1.395 MB / 3.793 GB, free: 160.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/4.902, allocations: 8.031 kB / 3.793 GB, free: 160.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/4.904, allocations: 406 kB / 3.794 GB, free: 160.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/4.906, allocations: 0.8635 MB / 3.794 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/4.906, allocations: 32 kB / 3.794 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/4.906, allocations: 55.91 kB / 3.794 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/4.907, allocations: 0.777 MB / 3.795 GB, free: 158.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/4.908, allocations: 0.9224 MB / 3.796 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/4.908, allocations: 7.938 kB / 3.796 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/4.908, allocations: 0 / 3.796 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/4.908, allocations: 34 kB / 3.796 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/4.912, allocations: 4.731 MB / 3.801 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/4.913, allocations: 0.6257 MB / 3.801 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/4.913, allocations: 462.7 kB / 3.802 GB, free: 151.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/4.914, allocations: 0.6772 MB / 3.802 GB, free: 150.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/4.914, allocations: 39.22 kB / 3.803 GB, free: 150.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/4.914, allocations: 0 / 3.803 GB, free: 150.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001672/4.916, allocations: 0.792 MB / 3.803 GB, free: 149.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/4.916, allocations: 60.06 kB / 3.803 GB, free: 149.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/4.916, allocations: 487.7 kB / 3.804 GB, free: 149.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/4.916, allocations: 29.7 kB / 3.804 GB, free: 149.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/4.916, allocations: 327.9 kB / 3.804 GB, free: 148.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.917, allocations: 240.4 kB / 3.804 GB, free: 148.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/4.917, allocations: 0 / 3.804 GB, free: 148.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/4.917, allocations: 386.7 kB / 3.805 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/4.917, allocations: 273.2 kB / 3.805 GB, free: 148 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/4.917, allocations: 361.5 kB / 3.805 GB, free: 147.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/4.918, allocations: 351 kB / 3.806 GB, free: 147.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/4.918, allocations: 0 / 3.806 GB, free: 147.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00104/4.919, allocations: 0.784 MB / 3.806 GB, free: 146.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/4.919, allocations: 7.984 kB / 3.806 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/4.919, allocations: 192 / 3.806 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/4.919, allocations: 12 kB / 3.806 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/4.92, allocations: 147.8 kB / 3.807 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/4.92, allocations: 4 kB / 3.807 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/4.921, allocations: 99.36 kB / 3.807 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/4.921, allocations: 28 kB / 3.807 GB, free: 146.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001149/4.921, allocations: 116.8 kB / 3.807 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/4.921, allocations: 83.06 kB / 3.807 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/4.922, allocations: 0.8085 MB / 3.808 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/4.922, allocations: 11.91 kB / 3.808 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.922, allocations: 0 / 3.808 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008713/4.923, allocations: 0.8322 MB / 3.809 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/4.925, allocations: 1.782 MB / 3.81 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/4.925, allocations: 0 / 3.81 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/4.926, allocations: 175.8 kB / 3.81 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/4.926, allocations: 4 kB / 3.81 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/4.926, allocations: 11.98 kB / 3.81 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/4.926, allocations: 4 kB / 3.81 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/4.926, allocations: 4 kB / 3.81 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001327/4.928, allocations: 1.184 MB / 3.812 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/4.928, allocations: 247.9 kB / 3.812 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/4.928, allocations: 8 kB / 3.812 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/4.929, allocations: 59.78 kB / 3.812 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/4.929, allocations: 32.61 kB / 3.812 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/4.929, allocations: 31.97 kB / 3.812 GB, free: 140.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003536/4.929, allocations: 379.2 kB / 3.812 GB, free: 140.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001018/4.93, allocations: 435 kB / 3.813 GB, free: 139.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.001572/4.932, allocations: 1.783 MB / 3.815 GB, free: 138.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008467/4.933, allocations: 0.6746 MB / 3.815 GB, free: 137.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/4.933, allocations: 4 kB / 3.815 GB, free: 137.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/4.933, allocations: 370.3 kB / 3.816 GB, free: 137 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/4.935, allocations: 452.1 kB / 3.816 GB, free: 136.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/4.938, allocations: 1.767 MB / 3.818 GB, free: 134.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/4.939, allocations: 1.197 MB / 3.819 GB, free: 133.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/4.939, allocations: 4 kB / 3.819 GB, free: 133.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03205/4.971, allocations: 25.78 MB / 3.844 GB, free: 107.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:colOut.densitySelection,colOut.h,colRooTop.densitySelection,colRooTop.h,oriOutBot.A,oriOutBot.C,oriOutBot.CD,oriOutBot._dp_start,oriOutBot._m_flow_start,oriOutBot.a,oriOutBot.allowFlowReversal,oriOutBot.b,oriOutBot.c,oriOutBot.d,oriOutBot.dp_turbulent,oriOutBot.dynVis_default,oriOutBot.forceErrorControlOnFlow,oriOutBot.m,oriOutBot.m_flow_nominal,oriOutBot.m_flow_small,oriOutBot.rho_default,oriOutBot.sta_default.T,oriOutBot.sta_default.X[1],oriOutBot.sta_default.X[2],oriOutBot.sta_default.p,oriOutBot.useDefaultProperties,oriOutBot.v,oriOutTop.A,oriOutTop.C,oriOutTop.CD,oriOutTop._dp_start,oriOutTop._m_flow_start,oriOutTop.a,oriOutTop.allowFlowReversal,oriOutTop.b,oriOutTop.c,oriOutTop.d,oriOutTop.dp_turbulent,oriOutTop.dynVis_default,oriOutTop.forceErrorControlOnFlow,oriOutTop.m,oriOutTop.m_flow_nominal,oriOutTop.m_flow_small,oriOutTop.rho_default,oriOutTop.sta_default.T,oriOutTop.sta_default.X[1],oriOutTop.sta_default.X[2],oriOutTop.sta_default.p,oriOutTop.useDefaultProperties,oriOutTop.v,preHeaFlo.T_ref,preHeaFlo.alpha,q_flow.height,q_flow.offset,q_flow.startTime,time,volA.T,volA.T_start,volA.V,volA.X_start[1],volA.X_start[2],volA.allowFlowReversal,volA.dynBal.CSen,volA.dynBal.T_start,volA.dynBal.X_start[1],volA.dynBal.X_start[2],volA.dynBal.computeCSen,volA.dynBal.cp_default,volA.dynBal.energyDynamics,volA.dynBal.fluidVolume,volA.dynBal.hStart,volA.dynBal.initialize_p,volA.dynBal.mSenFac,volA.dynBal.massDynamics,volA.dynBal.medium.preferredMediumStates,volA.dynBal.medium.standardOrderComponents,volA.dynBal.nPorts,volA.dynBal.p_start,volA.dynBal.rho_default,volA.dynBal.rho_start,volA.dynBal.s[1],volA.dynBal.state_default.T,volA.dynBal.state_default.X[1],volA.dynBal.state_default.X[2],volA.dynBal.state_default.p,volA.dynBal.substanceDynamics,volA.dynBal.traceDynamics,volA.dynBal.use_C_flow,volA.dynBal.use_mWat_flow,volA.dynBal.wrongEnergyMassBalanceConfiguration,volA.energyDynamics,volA.mSenFac,volA.m_flow_nominal,volA.m_flow_small,volA.massDynamics,volA.nPorts,volA.p_start,volA.rho_default,volA.rho_start,volA.state_default.T,volA.state_default.X[1],volA.state_default.X[2],volA.state_default.p,volA.state_start.T,volA.state_start.X[1],volA.state_start.X[2],volA.state_start.p,volA.substanceDynamics,volA.traceDynamics,volA.useSteadyStateTwoPort,volA.use_C_flow,volA.wrongEnergyMassBalanceConfiguration,volOut.T,volOut.T_start,volOut.V,volOut.X_start[1],volOut.X_start[2],volOut.allowFlowReversal,volOut.dynBal.CSen,volOut.dynBal.T_start,volOut.dynBal.X_start[1],volOut.dynBal.X_start[2],volOut.dynBal.computeCSen,volOut.dynBal.cp_default,volOut.dynBal.energyDynamics,volOut.dynBal.fluidVolume,volOut.dynBal.hStart,volOut.dynBal.initialize_p,volOut.dynBal.mSenFac,volOut.dynBal.massDynamics,volOut.dynBal.medium.preferredMediumStates,volOut.dynBal.medium.standardOrderComponents,volOut.dynBal.nPorts,volOut.dynBal.p_start,volOut.dynBal.rho_default,volOut.dynBal.rho_start,volOut.dynBal.s[1],volOut.dynBal.state_default.T,volOut.dynBal.state_default.X[1],volOut.dynBal.state_default.X[2],volOut.dynBal.state_default.p,volOut.dynBal.substanceDynamics,volOut.dynBal.traceDynamics,volOut.dynBal.use_C_flow,volOut.dynBal.use_mWat_flow,volOut.dynBal.wrongEnergyMassBalanceConfiguration,volOut.energyDynamics,volOut.mSenFac,volOut.m_flow_nominal,volOut.m_flow_small,volOut.massDynamics,volOut.nPorts,volOut.p_start,volOut.rho_default,volOut.rho_start,volOut.state_default.T,volOut.state_default.X[1],volOut.state_default.X[2],volOut.state_default.p,volOut.state_start.T,volOut.state_start.X[1],volOut.state_start.X[2],volOut.state_start.p,volOut.substanceDynamics,volOut.traceDynamics,volOut.useSteadyStateTwoPort,volOut.use_C_flow,volOut.wrongEnergyMassBalanceConfiguration