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/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.0009796/0.0009796, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001013/0.001013, allocations: 177 kB / 23.5 MB, free: 1.055 MB / 18.57 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 0.8966/0.8966, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.975/1.975, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.438e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.543/0.543, allocations: 199.5 MB / 1.073 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007732/0.5507, allocations: 7.721 MB / 1.081 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007822/0.5515, allocations: 44.72 kB / 1.081 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.5528, allocations: 0.6689 MB / 1.081 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.5567, allocations: 2.632 MB / 1.084 GB, free: 47.35 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.5588, allocations: 1.288 MB / 1.085 GB, free: 47.31 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002197/0.561, allocations: 3.048 MB / 1.088 GB, free: 46.9 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.5616, allocations: 0.7396 MB / 1.089 GB, free: 46.83 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.5629, allocations: 1.557 MB / 1.09 GB, free: 46.69 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.5639, allocations: 0.9346 MB / 1.091 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.564, allocations: 111.3 kB / 1.091 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.5661, allocations: 1.806 MB / 1.093 GB, free: 46.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.5664, allocations: 0.4935 MB / 1.094 GB, free: 46.34 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.5668, allocations: 492.9 kB / 1.094 GB, free: 46.29 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.5687, allocations: 1.923 MB / 1.096 GB, free: 46.07 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5687, allocations: 0.875 kB / 1.096 GB, free: 46.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5687, allocations: 0 / 1.096 GB, free: 46.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5687, allocations: 0.9062 kB / 1.096 GB, free: 46.07 MB / 1.01 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.002063/0.5707, allocations: 1.681 MB / 1.098 GB, free: 45.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5708, allocations: 8.812 kB / 1.098 GB, free: 45.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.5728, allocations: 0.6272 MB / 1.098 GB, free: 45.07 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.5737, allocations: 0.8086 MB / 1.099 GB, free: 44.79 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.5738, allocations: 71.38 kB / 1.099 GB, free: 44.79 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5739, allocations: 88.42 kB / 1.099 GB, free: 44.79 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5752, allocations: 0.978 MB / 1.1 GB, free: 44.36 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5752, allocations: 4.969 kB / 1.1 GB, free: 44.36 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.5753, allocations: 35.52 kB / 1.1 GB, free: 44.36 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.5753, allocations: 47.86 kB / 1.1 GB, free: 44.35 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.5761, allocations: 442.5 kB / 1.101 GB, free: 44.34 MB / 1.01 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.002572/0.5787, allocations: 3.07 MB / 1.104 GB, free: 42.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.5794, allocations: 488.6 kB / 1.104 GB, free: 42.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.5799, allocations: 295.2 kB / 1.104 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.5799, allocations: 17.55 kB / 1.104 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.5799, allocations: 45.17 kB / 1.104 GB, free: 42.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/0.58, allocations: 0.875 kB / 1.104 GB, free: 42.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.001102/0.5811, allocations: 0.6466 MB / 1.105 GB, free: 42.65 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.5811, allocations: 63.25 kB / 1.105 GB, free: 42.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.5816, allocations: 0.5947 MB / 1.106 GB, free: 42.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.5816, allocations: 39.45 kB / 1.106 GB, free: 42.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.5818, allocations: 497.7 kB / 1.106 GB, free: 42.11 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.5819, allocations: 255.3 kB / 1.106 GB, free: 41.95 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.5821, allocations: 124 kB / 1.107 GB, free: 41.92 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5822, allocations: 0.5675 MB / 1.107 GB, free: 41.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.5824, allocations: 130.7 kB / 1.107 GB, free: 41.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.5827, allocations: 239.2 kB / 1.107 GB, free: 41.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.5833, allocations: 396 kB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5833, allocations: 1.875 kB / 1.108 GB, free: 41.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008221/0.5841, allocations: 0.5406 MB / 1.108 GB, free: 41.15 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5841, allocations: 6.156 kB / 1.108 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.5841, allocations: 2.812 kB / 1.108 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5842, allocations: 5.609 kB / 1.108 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.5846, allocations: 162.8 kB / 1.109 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5846, allocations: 4.172 kB / 1.109 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.585, allocations: 63.14 kB / 1.109 GB, free: 41.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.5851, allocations: 28.66 kB / 1.109 GB, free: 41.12 MB / 1.01 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.0001668/0.5852, allocations: 194.8 kB / 1.109 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5854, allocations: 114.2 kB / 1.109 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.5855, allocations: 101.8 kB / 1.109 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.5855, allocations: 7.203 kB / 1.109 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5855, allocations: 0.75 kB / 1.109 GB, free: 40.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006314/0.5861, allocations: 0.5769 MB / 1.11 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.5879, allocations: 1.335 MB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5879, allocations: 0.9688 kB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.5884, allocations: 180.5 kB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5884, allocations: 4.094 kB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.5885, allocations: 22.16 kB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5885, allocations: 5.172 kB / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5885, allocations: 0 / 1.111 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.5896, allocations: 0.8402 MB / 1.112 GB, free: 40.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.5898, allocations: 174.7 kB / 1.112 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.5899, allocations: 18.95 kB / 1.112 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.5903, allocations: 40.53 kB / 1.112 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5904, allocations: 46.44 kB / 1.112 GB, free: 39.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.5904, allocations: 24.95 kB / 1.112 GB, free: 39.99 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003613/0.5908, allocations: 395.7 kB / 1.113 GB, free: 39.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5908, allocations: 2.375 kB / 1.113 GB, free: 39.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005949/0.5914, allocations: 342 kB / 1.113 GB, free: 39.82 MB / 1.01 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.5916, allocations: 175.4 kB / 1.113 GB, free: 39.72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006797/0.5923, allocations: 426.6 kB / 1.113 GB, free: 39.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5923, allocations: 1.438 kB / 1.113 GB, free: 39.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.5926, allocations: 249.7 kB / 1.114 GB, free: 39.68 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.594, allocations: 0.5286 MB / 1.114 GB, free: 39.63 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.5967, allocations: 1.875 MB / 1.116 GB, free: 38.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.5969, allocations: 236.3 kB / 1.116 GB, free: 38.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005411/0.5974, allocations: 187.8 kB / 1.116 GB, free: 38.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.5977, allocations: 74.56 kB / 1.117 GB, free: 38.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/0.5977, allocations: 4 kB / 1.117 GB, free: 38.69 MB / 1.01 GB Notification: Performance of Templates: time 0.02369/0.6214, allocations: 19.54 MB / 1.136 GB, free: 36.53 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9077013288624585]