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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.0009888/0.0009888, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7191/0.7204, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2109/0.9313, allocations: 202 MB / 1.286 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.942, allocations: 7.393 MB / 1.293 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.9433, allocations: 35.81 kB / 1.293 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.9452, allocations: 0.7304 MB / 1.294 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.9512, allocations: 2.478 MB / 1.296 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.9543, allocations: 1.257 MB / 1.297 GB, free: 7.699 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003616/0.9579, allocations: 2.907 MB / 1.3 GB, free: 4.785 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.9593, allocations: 0.9547 MB / 1.301 GB, free: 3.812 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.961, allocations: 1.051 MB / 1.302 GB, free: 2.758 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.963, allocations: 0.9627 MB / 1.303 GB, free: 1.797 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.9633, allocations: 108 kB / 1.303 GB, free: 1.691 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.9676, allocations: 2.147 MB / 1.305 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.9682, allocations: 446.8 kB / 1.306 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.9695, allocations: 0.665 MB / 1.306 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004924/0.9744, allocations: 2.407 MB / 1.309 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.9744, allocations: 0 / 1.309 GB, free: 12.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9744, allocations: 0 / 1.309 GB, free: 12.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.622e-05/0.9745, allocations: 0 / 1.309 GB, free: 12.02 MB / 1.045 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.00384/0.9783, allocations: 1.628 MB / 1.31 GB, free: 10.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.9784, allocations: 8.031 kB / 1.31 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.9811, allocations: 382.1 kB / 1.311 GB, free: 9.953 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.9827, allocations: 0.8474 MB / 1.312 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.9827, allocations: 62 kB / 1.312 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.9829, allocations: 84 kB / 1.312 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.9847, allocations: 1.042 MB / 1.313 GB, free: 7.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.9847, allocations: 4 kB / 1.313 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.9848, allocations: 36 kB / 1.313 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.9849, allocations: 41.98 kB / 1.313 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.9864, allocations: 0.8822 MB / 1.314 GB, free: 6.879 MB / 1.045 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.004924/0.9914, allocations: 4.303 MB / 1.318 GB, free: 2.223 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.9925, allocations: 0.6897 MB / 1.319 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007982/0.9933, allocations: 465.3 kB / 1.319 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.9939, allocations: 0.6732 MB / 1.32 GB, free: 256 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.994, allocations: 47.06 kB / 1.32 GB, free: 200 kB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.994, allocations: 0 / 1.32 GB, free: 200 kB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.001876/0.9958, allocations: 0.9939 MB / 1.321 GB, free: 15.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.9959, allocations: 59.97 kB / 1.321 GB, free: 15.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.9966, allocations: 0.6334 MB / 1.321 GB, free: 14.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.9967, allocations: 41.7 kB / 1.321 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.997, allocations: 432.1 kB / 1.322 GB, free: 14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.9972, allocations: 248.2 kB / 1.322 GB, free: 13.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.9975, allocations: 118.2 kB / 1.322 GB, free: 13.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9976, allocations: 394.7 kB / 1.323 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.9981, allocations: 277.2 kB / 1.323 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.9986, allocations: 357 kB / 1.323 GB, free: 12.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009992/0.9996, allocations: 0.6704 MB / 1.324 GB, free: 11.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9996, allocations: 0 / 1.324 GB, free: 11.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001362/1.001, allocations: 0.793 MB / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.001, allocations: 8 kB / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.001, allocations: 0 / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.001, allocations: 4 kB / 1.325 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/1.002, allocations: 147.8 kB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.002, allocations: 4 kB / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/1.003, allocations: 55.42 kB / 1.325 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/1.003, allocations: 24.12 kB / 1.325 GB, free: 10.88 MB / 1.061 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.0003952/1.003, allocations: 297.5 kB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.003, allocations: 79.06 kB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.005, allocations: 0.8036 MB / 1.326 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/1.006, allocations: 0.8153 MB / 1.327 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/1.006, allocations: 3.938 kB / 1.327 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/1.006, allocations: 243.9 kB / 1.327 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.006, allocations: 16 kB / 1.327 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/1.007, allocations: 19.98 kB / 1.327 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.007, allocations: 44.5 kB / 1.327 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001888/1.009, allocations: 0.9125 MB / 1.328 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001818/1.011, allocations: 1.325 MB / 1.329 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004928/1.011, allocations: 364.3 kB / 1.33 GB, free: 5.855 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005586/1.012, allocations: 463 kB / 1.33 GB, free: 5.41 MB / 1.061 GB Notification: Performance of Backend: time 1.252e-06/1.012, allocations: 0 / 1.33 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.014, allocations: 0.9075 MB / 1.331 GB, free: 4.492 MB / 1.061 GB Notification: Performance of SimCode: time 0.004522/1.019, allocations: 2.74 MB / 1.334 GB, free: 1.703 MB / 1.061 GB Notification: Performance of Templates: time 0.03682/1.056, allocations: 23.29 MB / 1.356 GB, free: 10.63 MB / 1.092 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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,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