Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 211.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.822/1.822, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 68.61 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2178/0.557, allocations: 178.9 MB / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.5695, allocations: 6.921 MB / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.5716, allocations: 47.62 kB / 1.509 GB, free: 6.441 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.5739, allocations: 0.6641 MB / 1.509 GB, free: 5.773 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.5812, allocations: 2.524 MB / 1.512 GB, free: 3.238 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.5861, allocations: 1.267 MB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006681/0.5928, allocations: 2.985 MB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.5945, allocations: 0.7094 MB / 1.517 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.5978, allocations: 1.203 MB / 1.518 GB, free: 13.04 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.6006, allocations: 1.025 MB / 1.519 GB, free: 12.02 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.6009, allocations: 108 kB / 1.519 GB, free: 11.91 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/0.6054, allocations: 1.761 MB / 1.521 GB, free: 10.15 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.606, allocations: 466.6 kB / 1.521 GB, free: 9.691 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009309/0.607, allocations: 0.5485 MB / 1.521 GB, free: 9.141 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.6116, allocations: 2.363 MB / 1.524 GB, free: 6.77 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6117, allocations: 0 / 1.524 GB, free: 6.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6117, allocations: 0 / 1.524 GB, free: 6.77 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.6117, allocations: 0 / 1.524 GB, free: 6.77 MB / 1.217 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.003619/0.6153, allocations: 1.59 MB / 1.525 GB, free: 5.145 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.6153, allocations: 11.97 kB / 1.525 GB, free: 5.133 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.6181, allocations: 382.9 kB / 1.526 GB, free: 4.758 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.6199, allocations: 0.7837 MB / 1.526 GB, free: 3.945 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.62, allocations: 66 kB / 1.527 GB, free: 3.879 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6201, allocations: 84 kB / 1.527 GB, free: 3.797 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.6223, allocations: 1.242 MB / 1.528 GB, free: 2.473 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.6223, allocations: 7.938 kB / 1.528 GB, free: 2.465 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.6224, allocations: 32 kB / 1.528 GB, free: 2.434 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/0.6225, allocations: 45.98 kB / 1.528 GB, free: 2.387 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6241, allocations: 0.8822 MB / 1.529 GB, free: 1.504 MB / 1.217 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.005185/0.6293, allocations: 2.749 MB / 1.531 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6306, allocations: 0.6645 MB / 1.532 GB, free: 14.01 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008104/0.6314, allocations: 436.8 kB / 1.533 GB, free: 13.59 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.6318, allocations: 76.59 kB / 1.533 GB, free: 13.51 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6318, allocations: 43.16 kB / 1.533 GB, free: 13.46 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.977e-06/0.6318, allocations: 0 / 1.533 GB, free: 13.46 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.00201/0.6338, allocations: 0.9933 MB / 1.534 GB, free: 12.46 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.6339, allocations: 60.06 kB / 1.534 GB, free: 12.39 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.6347, allocations: 0.5902 MB / 1.534 GB, free: 11.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.6347, allocations: 41.7 kB / 1.534 GB, free: 11.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.6351, allocations: 436.8 kB / 1.535 GB, free: 11.32 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.6354, allocations: 265.7 kB / 1.535 GB, free: 11.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.6356, allocations: 122.3 kB / 1.535 GB, free: 10.93 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.6358, allocations: 386.7 kB / 1.535 GB, free: 10.54 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.6363, allocations: 273.2 kB / 1.536 GB, free: 10.27 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.6368, allocations: 361 kB / 1.536 GB, free: 9.898 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6378, allocations: 0.663 MB / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6379, allocations: 0 / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001403/0.6393, allocations: 0.7896 MB / 1.537 GB, free: 8.418 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6393, allocations: 8 kB / 1.537 GB, free: 8.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6393, allocations: 4 kB / 1.537 GB, free: 8.406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6393, allocations: 4 kB / 1.537 GB, free: 8.402 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.64, allocations: 148 kB / 1.538 GB, free: 8.258 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.64, allocations: 8 kB / 1.538 GB, free: 8.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.6408, allocations: 51.62 kB / 1.538 GB, free: 8.199 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6408, allocations: 23.98 kB / 1.538 GB, free: 8.176 MB / 1.232 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.0004609/0.6413, allocations: 282.1 kB / 1.538 GB, free: 7.891 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6414, allocations: 87.48 kB / 1.538 GB, free: 7.805 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.6429, allocations: 0.7977 MB / 1.539 GB, free: 6.996 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/0.6441, allocations: 0.8252 MB / 1.54 GB, free: 6.121 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6441, allocations: 0 / 1.54 GB, free: 6.121 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.6446, allocations: 163.2 kB / 1.54 GB, free: 5.961 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6447, allocations: 16 kB / 1.54 GB, free: 5.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.6453, allocations: 19.98 kB / 1.54 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6454, allocations: 48.56 kB / 1.54 GB, free: 5.875 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001945/0.6474, allocations: 0.9109 MB / 1.541 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001984/0.6494, allocations: 1.333 MB / 1.542 GB, free: 3.609 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005406/0.6499, allocations: 337 kB / 1.542 GB, free: 3.281 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005829/0.6505, allocations: 427 kB / 1.543 GB, free: 2.867 MB / 1.232 GB Notification: Performance of Backend: time 4.61e-07/0.6505, allocations: 4 kB / 1.543 GB, free: 2.863 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.653, allocations: 0.895 MB / 1.544 GB, free: 1.957 MB / 1.232 GB Notification: Performance of SimCode: time 0.004746/0.6578, allocations: 2.695 MB / 1.546 GB, free: 15.22 MB / 1.248 GB Notification: Performance of Templates: time 0.04185/0.6996, allocations: 25.28 MB / 1.571 GB, free: 6.27 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 10.015879945000052]