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.0008946/0.0008946, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009482/0.0009482, allocations: 169 kB / 23.02 MB, free: 1.547 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.8644/0.8644, allocations: 177.1 MB / 203.4 MB, free: 5.531 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.954/1.954, allocations: 429.5 MB / 0.6732 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 177] 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.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.481e-05, allocations: 6 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1266/0.1266, allocations: 151.4 MB / 1.026 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.132, allocations: 4.347 MB / 1.03 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.1326, allocations: 51.56 kB / 1.03 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.1333, allocations: 297.9 kB / 1.031 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1353, allocations: 1.449 MB / 1.032 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1363, allocations: 0.7404 MB / 1.033 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.1388, allocations: 2.968 MB / 1.036 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.1396, allocations: 0.7487 MB / 1.036 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.1418, allocations: 1.588 MB / 1.038 GB, free: 2.129 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.1427, allocations: 0.892 MB / 1.039 GB, free: 1.234 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.1429, allocations: 108 kB / 1.039 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.1435, allocations: 459 kB / 1.039 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1438, allocations: 494.6 kB / 1.04 GB, free: 200 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.1443, allocations: 491 kB / 1.04 GB, free: 15.71 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1455, allocations: 1.227 MB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1455, allocations: 3.938 kB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1455, allocations: 0 / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.1456, allocations: 4 kB / 1.041 GB, free: 14.48 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.001777/0.1473, allocations: 1.562 MB / 1.043 GB, free: 12.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1474, allocations: 8.031 kB / 1.043 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.149, allocations: 0.5964 MB / 1.044 GB, free: 12.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.1498, allocations: 0.769 MB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.1499, allocations: 62 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.15, allocations: 95.98 kB / 1.045 GB, free: 11.31 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.151, allocations: 0.9673 MB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1511, allocations: 11.92 kB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.1511, allocations: 39.98 kB / 1.046 GB, free: 10.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.1512, allocations: 37.98 kB / 1.046 GB, free: 10.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.1519, allocations: 451.5 kB / 1.046 GB, free: 9.719 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.002626/0.1545, allocations: 3.062 MB / 1.049 GB, free: 6.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.1552, allocations: 493 kB / 1.049 GB, free: 6.078 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.1556, allocations: 290 kB / 1.05 GB, free: 5.793 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1556, allocations: 20.66 kB / 1.05 GB, free: 5.773 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1556, allocations: 46.03 kB / 1.05 GB, free: 5.719 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/0.1556, allocations: 0 / 1.05 GB, free: 5.719 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.0009944/0.1566, allocations: 0.6458 MB / 1.05 GB, free: 5.066 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.1568, allocations: 60.06 kB / 1.05 GB, free: 4.996 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.1573, allocations: 0.6322 MB / 1.051 GB, free: 4.352 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.1573, allocations: 45.69 kB / 1.051 GB, free: 4.301 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.1575, allocations: 0.511 MB / 1.052 GB, free: 3.781 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1577, allocations: 269.7 kB / 1.052 GB, free: 3.516 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1578, allocations: 140.3 kB / 1.052 GB, free: 3.371 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.158, allocations: 0.5703 MB / 1.053 GB, free: 2.789 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1582, allocations: 137.9 kB / 1.053 GB, free: 2.656 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.1585, allocations: 352.6 kB / 1.053 GB, free: 2.234 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.1591, allocations: 0.5341 MB / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1591, allocations: 0 / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007796/0.1599, allocations: 0.6215 MB / 1.054 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1599, allocations: 4 kB / 1.054 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1599, allocations: 4 kB / 1.054 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1599, allocations: 8 kB / 1.054 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1604, allocations: 183.7 kB / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1604, allocations: 12.42 kB / 1.054 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.1608, allocations: 83.5 kB / 1.054 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.1608, allocations: 35.97 kB / 1.054 GB, free: 0.6641 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 94 * 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.0001834/0.161, allocations: 200.3 kB / 1.055 GB, free: 468 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1611, allocations: 111.4 kB / 1.055 GB, free: 356 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1613, allocations: 107.6 kB / 1.055 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1613, allocations: 8 kB / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1613, allocations: 0 / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.391/0.5522, allocations: 0.5728 MB / 1.055 GB, free: 78.04 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.5541, allocations: 1.326 MB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5541, allocations: 0 / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.5546, allocations: 184.1 kB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5546, allocations: 2.938 kB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.5547, allocations: 19.31 kB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5547, allocations: 2.781 kB / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5547, allocations: 0 / 1.057 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.5557, allocations: 0.8492 MB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.5559, allocations: 176 kB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.556, allocations: 17.94 kB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.5565, allocations: 39.52 kB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.5566, allocations: 46.38 kB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.5566, allocations: 24.47 kB / 1.058 GB, free: 77.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002565/0.5569, allocations: 408.3 kB / 1.058 GB, free: 77.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5569, allocations: 0.6562 kB / 1.058 GB, free: 77.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005752/0.5575, allocations: 346.6 kB / 1.059 GB, free: 77.4 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.0001713/0.5576, allocations: 122.7 kB / 1.059 GB, free: 77.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006305/0.5583, allocations: 464.5 kB / 1.059 GB, free: 77.28 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5583, allocations: 1.219 kB / 1.059 GB, free: 77.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.5585, allocations: 248.8 kB / 1.06 GB, free: 77.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5597, allocations: 0.5336 MB / 1.06 GB, free: 77.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.5621, allocations: 1.871 MB / 1.062 GB, free: 76.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.5622, allocations: 240.7 kB / 1.062 GB, free: 76.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.5628, allocations: 209.8 kB / 1.062 GB, free: 76.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.563, allocations: 77.78 kB / 1.062 GB, free: 76.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/0.563, allocations: 0 / 1.062 GB, free: 76.4 MB / 1.01 GB Notification: Performance of Templates: time 0.02073/0.5837, allocations: 20.1 MB / 1.082 GB, free: 74.42 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.777797313872725]