Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 390.5 MB / 398 MB, free: 10.91 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.001192/0.001192, allocations: 180.9 kB / 491.2 MB, free: 1.539 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.665/1.665, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001016/0.001016, allocations: 90.66 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.128e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3017, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/6.002, allocations: 1.92 GB / 3.132 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/6.002, allocations: 91.28 kB / 3.132 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.096/8.098, allocations: 0.6599 GB / 3.792 GB, free: 130.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/8.098, allocations: 4 kB / 3.792 GB, free: 130.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.736e-05/8.098, allocations: 24 kB / 3.792 GB, free: 130.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.004357/8.102, allocations: 1.391 MB / 3.794 GB, free: 128.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/8.103, allocations: 8.031 kB / 3.794 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/8.107, allocations: 366.2 kB / 3.794 GB, free: 128.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/8.109, allocations: 0.8479 MB / 3.795 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/8.109, allocations: 28 kB / 3.795 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/8.109, allocations: 52 kB / 3.795 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001894/8.111, allocations: 0.738 MB / 3.796 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/8.113, allocations: 0.8912 MB / 3.797 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/8.113, allocations: 3.953 kB / 3.797 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/8.113, allocations: 0 / 3.797 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/8.113, allocations: 34 kB / 3.797 GB, free: 125.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/8.118, allocations: 4.351 MB / 3.801 GB, free: 121.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/8.119, allocations: 0.6335 MB / 3.801 GB, free: 120.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/8.12, allocations: 424 kB / 3.802 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/8.12, allocations: 0.6732 MB / 3.803 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/8.12, allocations: 43.12 kB / 3.803 GB, free: 119.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.237e-06/8.12, allocations: 0 / 3.803 GB, free: 119.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.00153/8.122, allocations: 0.7288 MB / 3.803 GB, free: 118.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/8.122, allocations: 59.97 kB / 3.803 GB, free: 118.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/8.122, allocations: 487.7 kB / 3.804 GB, free: 117.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/8.122, allocations: 29.64 kB / 3.804 GB, free: 117.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/8.123, allocations: 424.1 kB / 3.804 GB, free: 117.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/8.123, allocations: 244.4 kB / 3.804 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/8.123, allocations: 0 / 3.804 GB, free: 117.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001283/8.123, allocations: 382.8 kB / 3.805 GB, free: 116.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/8.123, allocations: 269.5 kB / 3.805 GB, free: 116.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/8.124, allocations: 354.7 kB / 3.805 GB, free: 116.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/8.124, allocations: 341.2 kB / 3.806 GB, free: 115.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/8.124, allocations: 0 / 3.806 GB, free: 115.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001534/8.126, allocations: 0.7764 MB / 3.806 GB, free: 115.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/8.126, allocations: 4 kB / 3.806 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/8.126, allocations: 7.938 kB / 3.807 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/8.126, allocations: 4 kB / 3.807 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/8.127, allocations: 151.8 kB / 3.807 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/8.127, allocations: 4 kB / 3.807 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/8.129, allocations: 103.5 kB / 3.807 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/8.129, allocations: 20 kB / 3.807 GB, free: 114.8 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.0001959/8.129, allocations: 120.8 kB / 3.807 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/8.129, allocations: 83.02 kB / 3.807 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/8.131, allocations: 0.7806 MB / 3.808 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/8.131, allocations: 8 kB / 3.808 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/8.131, allocations: 0 / 3.808 GB, free: 113.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/8.133, allocations: 0.8117 MB / 3.809 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/8.137, allocations: 1.761 MB / 3.81 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/8.137, allocations: 3.984 kB / 3.81 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/8.138, allocations: 167.8 kB / 3.81 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/8.138, allocations: 4 kB / 3.81 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/8.138, allocations: 8 kB / 3.81 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/8.138, allocations: 4 kB / 3.81 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/8.138, allocations: 7.922 kB / 3.81 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/8.14, allocations: 1.155 MB / 3.812 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/8.141, allocations: 251.9 kB / 3.812 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/8.141, allocations: 0 / 3.812 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/8.142, allocations: 67.78 kB / 3.812 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/8.143, allocations: 40.5 kB / 3.812 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/8.143, allocations: 23.98 kB / 3.812 GB, free: 109.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006857/8.143, allocations: 383.2 kB / 3.812 GB, free: 109 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/8.143, allocations: 0 / 3.812 GB, free: 109 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00171/8.145, allocations: 423.1 kB / 3.813 GB, free: 108.6 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.002759/8.148, allocations: 1.775 MB / 3.814 GB, free: 106.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001375/8.149, allocations: 0.6583 MB / 3.815 GB, free: 106 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/8.149, allocations: 0 / 3.815 GB, free: 106 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/8.15, allocations: 362 kB / 3.815 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/8.153, allocations: 474.5 kB / 3.816 GB, free: 105.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/8.157, allocations: 1.756 MB / 3.818 GB, free: 103.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/8.157, allocations: 1.108 MB / 3.819 GB, free: 102.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001047/8.158, allocations: 226.8 kB / 3.819 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/8.159, allocations: 71.42 kB / 3.819 GB, free: 102 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/8.159, allocations: 0 / 3.819 GB, free: 102 MB / 1.151 GB Notification: Performance of Templates: time 0.03554/8.194, allocations: 24.33 MB / 3.843 GB, free: 77.86 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","../files/Buildings_latest_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