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.001334/0.001334, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001525/0.001525, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.663/1.663, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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 3.686/3.686, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.001958/0.001958, allocations: 67.66 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.582, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2792/0.8612, allocations: 206.2 MB / 1.555 GB, free: 9.027 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.8772, allocations: 7.598 MB / 1.563 GB, free: 1.41 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.8799, allocations: 51.62 kB / 1.563 GB, free: 1.359 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.8823, allocations: 0.7226 MB / 1.564 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.8903, allocations: 2.591 MB / 1.566 GB, free: 14.03 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.8943, allocations: 1.283 MB / 1.567 GB, free: 12.75 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007398/0.9017, allocations: 3.004 MB / 1.57 GB, free: 9.734 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.904, allocations: 0.7211 MB / 1.571 GB, free: 8.992 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.908, allocations: 1.199 MB / 1.572 GB, free: 7.789 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.9118, allocations: 1.035 MB / 1.573 GB, free: 6.758 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.9122, allocations: 112 kB / 1.573 GB, free: 6.648 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00747/0.9197, allocations: 2.338 MB / 1.576 GB, free: 4.305 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.9211, allocations: 474.5 kB / 1.576 GB, free: 3.84 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.9231, allocations: 0.6728 MB / 1.577 GB, free: 3.164 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.9343, allocations: 2.461 MB / 1.579 GB, free: 0.6992 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.9343, allocations: 3.938 kB / 1.579 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of FrontEnd: time 4.319e-06/0.9343, allocations: 0 / 1.579 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.722e-05/0.9344, allocations: 0 / 1.579 GB, free: 0.6953 MB / 1.264 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.006103/0.9405, allocations: 1.601 MB / 1.581 GB, free: 15.05 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.9405, allocations: 8.031 kB / 1.581 GB, free: 15.05 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.9448, allocations: 0.5064 MB / 1.581 GB, free: 14.54 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.9477, allocations: 0.7876 MB / 1.582 GB, free: 13.73 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.9478, allocations: 66 kB / 1.582 GB, free: 13.66 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.948, allocations: 87.89 kB / 1.582 GB, free: 13.57 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.9508, allocations: 1.112 MB / 1.583 GB, free: 12.43 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.9509, allocations: 3.938 kB / 1.583 GB, free: 12.43 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.951, allocations: 32 kB / 1.583 GB, free: 12.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.9511, allocations: 45.98 kB / 1.583 GB, free: 12.35 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.9534, allocations: 0.9875 MB / 1.584 GB, free: 11.36 MB / 1.279 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.008024/0.9614, allocations: 4.44 MB / 1.589 GB, free: 6.547 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.9632, allocations: 0.7691 MB / 1.589 GB, free: 5.77 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.9642, allocations: 487.1 kB / 1.59 GB, free: 5.293 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.9643, allocations: 16.62 kB / 1.59 GB, free: 5.277 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.9644, allocations: 39.22 kB / 1.59 GB, free: 5.23 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 3.546e-06/0.9644, allocations: 3.938 kB / 1.59 GB, free: 5.227 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.002724/0.9671, allocations: 1.153 MB / 1.591 GB, free: 4.066 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.9671, allocations: 56.06 kB / 1.591 GB, free: 4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.9681, allocations: 0.6412 MB / 1.592 GB, free: 3.355 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-05/0.9682, allocations: 41.7 kB / 1.592 GB, free: 3.309 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.9685, allocations: 444.7 kB / 1.592 GB, free: 2.867 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.9688, allocations: 265.7 kB / 1.592 GB, free: 2.605 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.9691, allocations: 118.3 kB / 1.592 GB, free: 2.484 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9692, allocations: 337.9 kB / 1.593 GB, free: 2.148 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.9699, allocations: 333.1 kB / 1.593 GB, free: 1.824 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.9706, allocations: 413 kB / 1.593 GB, free: 1.398 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.9721, allocations: 0.7527 MB / 1.594 GB, free: 0.6211 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9721, allocations: 4 kB / 1.594 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001894/0.974, allocations: 0.895 MB / 1.595 GB, free: 15.71 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.974, allocations: 8.188 kB / 1.595 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.974, allocations: 7.938 kB / 1.595 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.974, allocations: 4 kB / 1.595 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.9749, allocations: 159.8 kB / 1.595 GB, free: 15.54 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.9749, allocations: 4 kB / 1.595 GB, free: 15.54 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/0.9759, allocations: 75.53 kB / 1.595 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.9759, allocations: 20 kB / 1.595 GB, free: 15.44 MB / 1.295 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.000568/0.9765, allocations: 285.6 kB / 1.596 GB, free: 15.15 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.9767, allocations: 91.44 kB / 1.596 GB, free: 15.06 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.9769, allocations: 107.7 kB / 1.596 GB, free: 14.95 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.977, allocations: 4 kB / 1.596 GB, free: 14.94 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.977, allocations: 4 kB / 1.596 GB, free: 14.94 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001788/0.9788, allocations: 0.9305 MB / 1.597 GB, free: 13.96 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.9829, allocations: 1.988 MB / 1.599 GB, free: 11.93 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9829, allocations: 4 kB / 1.599 GB, free: 11.92 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.984, allocations: 191.7 kB / 1.599 GB, free: 11.73 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.984, allocations: 7.938 kB / 1.599 GB, free: 11.73 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.9841, allocations: 12 kB / 1.599 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.9841, allocations: 4 kB / 1.599 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.9841, allocations: 3.984 kB / 1.599 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.9869, allocations: 1.378 MB / 1.6 GB, free: 10.31 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.9876, allocations: 183.2 kB / 1.6 GB, free: 10.13 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.9877, allocations: 16 kB / 1.6 GB, free: 10.11 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007641/0.9885, allocations: 37.05 kB / 1.6 GB, free: 10.08 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.9886, allocations: 48.56 kB / 1.601 GB, free: 10.03 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.9887, allocations: 23.98 kB / 1.601 GB, free: 10.01 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007444/0.9894, allocations: 459 kB / 1.601 GB, free: 9.562 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.9894, allocations: 0 / 1.601 GB, free: 9.562 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001127/0.9905, allocations: 331.5 kB / 1.601 GB, free: 9.238 MB / 1.295 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.0003956/0.9909, allocations: 171.2 kB / 1.601 GB, free: 9.062 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.9927, allocations: 0.7512 MB / 1.602 GB, free: 8.309 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9927, allocations: 0 / 1.602 GB, free: 8.309 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/0.9935, allocations: 407.9 kB / 1.603 GB, free: 7.914 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.996, allocations: 0.567 MB / 1.603 GB, free: 7.363 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/1.001, allocations: 2.325 MB / 1.605 GB, free: 5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/1.002, allocations: 1.085 MB / 1.606 GB, free: 3.887 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/1.002, allocations: 83.41 kB / 1.607 GB, free: 3.805 MB / 1.295 GB Notification: Performance of SimCode: time 2.224e-06/1.002, allocations: 0 / 1.607 GB, free: 3.805 MB / 1.295 GB Notification: Performance of Templates: time 0.9952/1.997, allocations: 16.21 MB / 1.622 GB, free: 252.4 MB / 1.295 GB " [Timeout remaining time 298] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.45164290702087]