Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 177.3 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 82.28 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.263e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2451, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.282/5.527, allocations: 2.192 GB / 3.077 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/5.527, allocations: 86.64 kB / 3.077 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.22/7.747, allocations: 0.6386 GB / 3.716 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.079e-05/7.747, allocations: 24.78 kB / 3.716 GB, free: 178.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004356/7.752, allocations: 1.405 MB / 3.717 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/7.752, allocations: 13.12 kB / 3.717 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/7.755, allocations: 400.1 kB / 3.717 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/7.758, allocations: 0.8579 MB / 3.718 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/7.758, allocations: 34.94 kB / 3.718 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/7.758, allocations: 52.61 kB / 3.718 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00182/7.76, allocations: 0.7735 MB / 3.719 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/7.762, allocations: 0.9259 MB / 3.72 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/7.762, allocations: 0.9375 kB / 3.72 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/7.762, allocations: 3.328 kB / 3.72 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/7.762, allocations: 35.31 kB / 3.72 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006671/7.769, allocations: 4.523 MB / 3.725 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/7.77, allocations: 0.644 MB / 3.725 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008023/7.771, allocations: 444.1 kB / 3.726 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/7.771, allocations: 0.6788 MB / 3.726 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/7.771, allocations: 40.61 kB / 3.726 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.526e-06/7.771, allocations: 3.375 kB / 3.726 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002309/7.774, allocations: 0.7699 MB / 3.727 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/7.774, allocations: 58.67 kB / 3.727 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/7.775, allocations: 496.6 kB / 3.728 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/7.775, allocations: 25.7 kB / 3.728 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/7.775, allocations: 330 kB / 3.728 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/7.775, allocations: 235.7 kB / 3.728 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/7.775, allocations: 1.062 kB / 3.728 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000167/7.775, allocations: 387 kB / 3.728 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/7.776, allocations: 267.4 kB / 3.729 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/7.776, allocations: 366.8 kB / 3.729 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/7.777, allocations: 339.6 kB / 3.729 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/7.777, allocations: 1.031 kB / 3.729 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001543/7.779, allocations: 0.7769 MB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/7.779, allocations: 5.453 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/7.779, allocations: 2.062 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/7.779, allocations: 4.688 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/7.78, allocations: 157.5 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/7.78, allocations: 4.312 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/7.781, allocations: 89.58 kB / 3.73 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/7.781, allocations: 27.77 kB / 3.73 GB, free: 169.7 MB / 0.8698 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.0001844/7.781, allocations: 115.4 kB / 3.731 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/7.781, allocations: 84.05 kB / 3.731 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/7.783, allocations: 0.7957 MB / 3.731 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/7.783, allocations: 14.89 kB / 3.731 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/7.783, allocations: 5.156 kB / 3.731 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/7.784, allocations: 0.8187 MB / 3.732 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/7.788, allocations: 1.774 MB / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/7.788, allocations: 0 / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/7.789, allocations: 179.8 kB / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/7.789, allocations: 2.875 kB / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/7.789, allocations: 16.2 kB / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/7.789, allocations: 6.25 kB / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/7.789, allocations: 0 / 3.734 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002264/7.792, allocations: 1.284 MB / 3.735 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/7.792, allocations: 257.4 kB / 3.736 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/7.792, allocations: 7.5 kB / 3.736 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/7.793, allocations: 68.89 kB / 3.736 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/7.794, allocations: 37.86 kB / 3.736 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/7.794, allocations: 24.89 kB / 3.736 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000677/7.794, allocations: 388.6 kB / 3.736 GB, free: 167 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00171/7.796, allocations: 438.9 kB / 3.737 GB, free: 166.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002656/7.799, allocations: 1.789 MB / 3.738 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001303/7.8, allocations: 0.66 MB / 3.739 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/7.8, allocations: 0 / 3.739 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/7.801, allocations: 372.3 kB / 3.739 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/7.803, allocations: 457.9 kB / 3.74 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/7.808, allocations: 1.774 MB / 3.741 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/7.809, allocations: 1.203 MB / 3.743 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/7.809, allocations: 0 / 3.743 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03965/7.848, allocations: 26 MB / 3.768 GB, free: 141.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","../files/Buildings_maint.7.0.x_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.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.k,oriOutBot.m,oriOutBot.m_flow_nominal,oriOutBot.m_flow_small,oriOutBot.rho_default,oriOutBot.show_T,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.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.k,oriOutTop.m,oriOutTop.m_flow_nominal,oriOutTop.m_flow_small,oriOutTop.rho_default,oriOutTop.show_T,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.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,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.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