Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 116.5 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.75 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2557/0.575, allocations: 202.7 MB / 1.46 GB, free: 1.508 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.587, allocations: 7.419 MB / 1.467 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5883, allocations: 35.81 kB / 1.467 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.5902, allocations: 0.7304 MB / 1.468 GB, free: 9.305 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.5963, allocations: 2.485 MB / 1.47 GB, free: 6.809 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.5997, allocations: 1.26 MB / 1.472 GB, free: 5.547 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004469/0.6042, allocations: 2.921 MB / 1.474 GB, free: 2.617 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.6054, allocations: 0.7869 MB / 1.475 GB, free: 1.812 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.6074, allocations: 1.051 MB / 1.476 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.6098, allocations: 1.02 MB / 1.477 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.61, allocations: 112 kB / 1.477 GB, free: 15.63 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/0.6153, allocations: 2.272 MB / 1.48 GB, free: 13.35 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000695/0.616, allocations: 466.6 kB / 1.48 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.617, allocations: 0.665 MB / 1.481 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006494/0.6235, allocations: 2.406 MB / 1.483 GB, free: 9.812 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6235, allocations: 0 / 1.483 GB, free: 9.812 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6235, allocations: 0 / 1.483 GB, free: 9.812 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.804e-05/0.6236, allocations: 4 kB / 1.483 GB, free: 9.809 MB / 1.201 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.004348/0.6279, allocations: 1.665 MB / 1.485 GB, free: 8.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.628, allocations: 8.625 kB / 1.485 GB, free: 8.082 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.6308, allocations: 382.9 kB / 1.485 GB, free: 7.707 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.6325, allocations: 0.8636 MB / 1.486 GB, free: 6.801 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.6326, allocations: 58 kB / 1.486 GB, free: 6.742 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.6327, allocations: 84 kB / 1.486 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.6347, allocations: 1.045 MB / 1.487 GB, free: 5.582 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.6347, allocations: 7.938 kB / 1.487 GB, free: 5.574 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.6348, allocations: 39.94 kB / 1.487 GB, free: 5.535 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/0.6349, allocations: 41.98 kB / 1.487 GB, free: 5.492 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.6367, allocations: 0.8822 MB / 1.488 GB, free: 4.609 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005921/0.6426, allocations: 4.304 MB / 1.492 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.6439, allocations: 0.6584 MB / 1.493 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.6449, allocations: 438.8 kB / 1.493 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.6457, allocations: 0.6732 MB / 1.494 GB, free: 14.03 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.6457, allocations: 43.12 kB / 1.494 GB, free: 13.98 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 3.938e-06/0.6457, allocations: 0 / 1.494 GB, free: 13.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.002299/0.648, allocations: 0.9982 MB / 1.495 GB, free: 12.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.6481, allocations: 59.97 kB / 1.495 GB, free: 12.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.649, allocations: 0.6334 MB / 1.496 GB, free: 12.27 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.6491, allocations: 41.7 kB / 1.496 GB, free: 12.22 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.6497, allocations: 440.8 kB / 1.496 GB, free: 11.79 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.6501, allocations: 261.7 kB / 1.496 GB, free: 11.53 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.6504, allocations: 118.3 kB / 1.496 GB, free: 11.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002557/0.6506, allocations: 398.7 kB / 1.497 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.6511, allocations: 273.2 kB / 1.497 GB, free: 10.74 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.6517, allocations: 357 kB / 1.497 GB, free: 10.37 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.6532, allocations: 0.6704 MB / 1.498 GB, free: 9.684 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6532, allocations: 0 / 1.498 GB, free: 9.684 MB / 1.217 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00176/0.655, allocations: 0.7973 MB / 1.499 GB, free: 8.879 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.655, allocations: 9.406 kB / 1.499 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.655, allocations: 0 / 1.499 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.6551, allocations: 8 kB / 1.499 GB, free: 8.863 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.6557, allocations: 139.8 kB / 1.499 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.6558, allocations: 7.984 kB / 1.499 GB, free: 8.719 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/0.6566, allocations: 51.62 kB / 1.499 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.6567, allocations: 24.12 kB / 1.499 GB, free: 8.645 MB / 1.217 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005327/0.6572, allocations: 293.6 kB / 1.499 GB, free: 8.348 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.6574, allocations: 95.42 kB / 1.499 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.659, allocations: 0.792 MB / 1.5 GB, free: 7.441 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/0.6604, allocations: 0.8153 MB / 1.501 GB, free: 6.578 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6604, allocations: 3.938 kB / 1.501 GB, free: 6.574 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.6609, allocations: 252.3 kB / 1.501 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.6611, allocations: 16 kB / 1.501 GB, free: 6.293 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.6617, allocations: 27.94 kB / 1.501 GB, free: 6.266 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6618, allocations: 44.5 kB / 1.501 GB, free: 6.223 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002067/0.6639, allocations: 0.9125 MB / 1.502 GB, free: 5.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002111/0.666, allocations: 1.326 MB / 1.504 GB, free: 3.965 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005991/0.6666, allocations: 340.3 kB / 1.504 GB, free: 3.629 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007552/0.6674, allocations: 459 kB / 1.504 GB, free: 3.184 MB / 1.217 GB Notification: Performance of Backend: time 7.71e-07/0.6674, allocations: 3.938 kB / 1.504 GB, free: 3.18 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.67, allocations: 0.8936 MB / 1.505 GB, free: 2.281 MB / 1.217 GB Notification: Performance of SimCode: time 0.005102/0.6751, allocations: 2.742 MB / 1.508 GB, free: 15.49 MB / 1.232 GB Notification: Performance of Templates: time 0.04361/0.7187, allocations: 23.65 MB / 1.531 GB, free: 8.043 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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,oriOutBot.dynVis_default,oriOutBot.forceErrorControlOnFlow,oriOutBot.m,oriOutBot.m_flow_nominal,oriOutBot.m_flow_small,oriOutBot.rho,oriOutBot.rho_default,oriOutBot.sta.T,oriOutBot.sta.X[1],oriOutBot.sta.X[2],oriOutBot.sta.p,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,oriOutTop.dynVis_default,oriOutTop.forceErrorControlOnFlow,oriOutTop.m,oriOutTop.m_flow_nominal,oriOutTop.m_flow_small,oriOutTop.rho,oriOutTop.rho_default,oriOutTop.sta.T,oriOutTop.sta.X[1],oriOutTop.sta.X[2],oriOutTop.sta.p,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