Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001855/0.001855, allocations: 118.4 kB / 16.42 MB, free: 6.5 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.002362/0.002362, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7057, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1949/0.9006, allocations: 202 MB / 1.365 GB, free: 9.125 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.911, allocations: 7.391 MB / 1.372 GB, free: 1.719 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.9122, allocations: 35.81 kB / 1.372 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.9141, allocations: 0.7265 MB / 1.373 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.9198, allocations: 2.479 MB / 1.375 GB, free: 14.46 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.9228, allocations: 1.254 MB / 1.376 GB, free: 13.21 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00359/0.9264, allocations: 2.916 MB / 1.379 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.9278, allocations: 0.9469 MB / 1.38 GB, free: 9.316 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.9295, allocations: 1.051 MB / 1.381 GB, free: 8.262 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.9315, allocations: 0.9691 MB / 1.382 GB, free: 7.293 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.9318, allocations: 108 kB / 1.382 GB, free: 7.188 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.9358, allocations: 2.132 MB / 1.384 GB, free: 5.051 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.9364, allocations: 458.7 kB / 1.385 GB, free: 4.602 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009671/0.9373, allocations: 0.665 MB / 1.385 GB, free: 3.934 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.9409, allocations: 2.404 MB / 1.388 GB, free: 1.523 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.941, allocations: 0 / 1.388 GB, free: 1.523 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/0.941, allocations: 0 / 1.388 GB, free: 1.523 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.737e-05/0.941, allocations: 0 / 1.388 GB, free: 1.523 MB / 1.107 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.003557/0.9446, allocations: 1.626 MB / 1.389 GB, free: 15.85 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9446, allocations: 12.03 kB / 1.389 GB, free: 15.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.9473, allocations: 374.1 kB / 1.389 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.9488, allocations: 0.8513 MB / 1.39 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.9489, allocations: 61.98 kB / 1.39 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.949, allocations: 84 kB / 1.39 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.9508, allocations: 1.049 MB / 1.391 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.9508, allocations: 7.906 kB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.9509, allocations: 36 kB / 1.392 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.951, allocations: 41.98 kB / 1.392 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.9525, allocations: 0.8783 MB / 1.392 GB, free: 12.39 MB / 1.123 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.004862/0.9574, allocations: 4.299 MB / 1.397 GB, free: 7.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.9586, allocations: 0.6935 MB / 1.397 GB, free: 7.027 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.9594, allocations: 463 kB / 1.398 GB, free: 6.574 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.96, allocations: 0.6771 MB / 1.398 GB, free: 5.75 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.96, allocations: 47.06 kB / 1.398 GB, free: 5.695 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.96, allocations: 0 / 1.398 GB, free: 5.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.001789/0.9618, allocations: 0.99 MB / 1.399 GB, free: 4.703 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.9619, allocations: 67.91 kB / 1.399 GB, free: 4.625 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.9626, allocations: 0.6334 MB / 1.4 GB, free: 3.984 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.9626, allocations: 45.64 kB / 1.4 GB, free: 3.934 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.9629, allocations: 428.1 kB / 1.401 GB, free: 3.508 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.9631, allocations: 244.3 kB / 1.401 GB, free: 3.266 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.9633, allocations: 122.2 kB / 1.401 GB, free: 3.141 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9635, allocations: 390.7 kB / 1.401 GB, free: 2.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.9639, allocations: 277.2 kB / 1.402 GB, free: 2.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.9644, allocations: 357 kB / 1.402 GB, free: 2.109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/0.9654, allocations: 0.6665 MB / 1.403 GB, free: 1.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9654, allocations: 0 / 1.403 GB, free: 1.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001241/0.9667, allocations: 0.7814 MB / 1.403 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9667, allocations: 15 kB / 1.403 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9667, allocations: 3.984 kB / 1.403 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9667, allocations: 4 kB / 1.403 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.9674, allocations: 143.8 kB / 1.403 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.9674, allocations: 4 kB / 1.403 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.9681, allocations: 55.42 kB / 1.403 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.9682, allocations: 23.94 kB / 1.404 GB, free: 400 kB / 1.123 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.0003516/0.9685, allocations: 289.5 kB / 1.404 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.9687, allocations: 90.97 kB / 1.404 GB, free: 8 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.9701, allocations: 0.792 MB / 1.405 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/0.9711, allocations: 0.8153 MB / 1.405 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9711, allocations: 7.875 kB / 1.405 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.9715, allocations: 244 kB / 1.406 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.9716, allocations: 16 kB / 1.406 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.9723, allocations: 25.02 kB / 1.406 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.9724, allocations: 40.5 kB / 1.406 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001843/0.9743, allocations: 0.9165 MB / 1.407 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001738/0.976, allocations: 1.329 MB / 1.408 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004934/0.9765, allocations: 360.3 kB / 1.408 GB, free: 11.37 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004798/0.977, allocations: 463 kB / 1.409 GB, free: 10.92 MB / 1.139 GB Notification: Performance of Backend: time 4.91e-07/0.977, allocations: 0 / 1.409 GB, free: 10.92 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.9791, allocations: 0.9137 MB / 1.41 GB, free: 10 MB / 1.139 GB Notification: Performance of SimCode: time 0.004126/0.9832, allocations: 2.717 MB / 1.412 GB, free: 7.238 MB / 1.139 GB Notification: Performance of Templates: time 0.03483/1.018, allocations: 23.29 MB / 1.435 GB, free: 160 kB / 1.154 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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