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.001689/0.001689, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002157/0.002157, allocations: 211.8 kB / 22.99 MB, free: 4.945 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.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.654/3.654, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002185/0.002185, allocations: 80.61 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4829, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2769/0.7598, allocations: 178.9 MB / 1.539 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.7735, allocations: 7.05 MB / 1.546 GB, free: 2.953 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.7754, allocations: 47.62 kB / 1.546 GB, free: 2.906 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.7776, allocations: 0.6641 MB / 1.547 GB, free: 2.238 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008349/0.786, allocations: 2.57 MB / 1.549 GB, free: 15.66 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.7899, allocations: 1.261 MB / 1.551 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.7948, allocations: 2.984 MB / 1.554 GB, free: 11.4 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.7961, allocations: 0.7055 MB / 1.554 GB, free: 10.68 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.7986, allocations: 1.195 MB / 1.555 GB, free: 9.477 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.8015, allocations: 0.9953 MB / 1.556 GB, free: 8.484 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.8018, allocations: 115.9 kB / 1.556 GB, free: 8.371 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005169/0.807, allocations: 1.784 MB / 1.558 GB, free: 6.582 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007487/0.8077, allocations: 466.6 kB / 1.559 GB, free: 6.125 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.8088, allocations: 0.5641 MB / 1.559 GB, free: 5.559 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.8142, allocations: 2.398 MB / 1.562 GB, free: 3.152 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8142, allocations: 4 kB / 1.562 GB, free: 3.148 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8142, allocations: 0 / 1.562 GB, free: 3.148 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.8142, allocations: 3.938 kB / 1.562 GB, free: 3.145 MB / 1.248 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.003653/0.8179, allocations: 1.597 MB / 1.563 GB, free: 1.512 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.8179, allocations: 8.031 kB / 1.563 GB, free: 1.504 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.8213, allocations: 0.4987 MB / 1.564 GB, free: 1.004 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.823, allocations: 0.7953 MB / 1.564 GB, free: 184 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.8231, allocations: 69.98 kB / 1.564 GB, free: 112 kB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.8233, allocations: 84 kB / 1.565 GB, free: 28 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.8255, allocations: 1.309 MB / 1.566 GB, free: 14.64 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.8256, allocations: 7.984 kB / 1.566 GB, free: 14.63 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.8257, allocations: 32 kB / 1.566 GB, free: 14.6 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.8257, allocations: 45.98 kB / 1.566 GB, free: 14.55 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.8277, allocations: 0.9797 MB / 1.567 GB, free: 13.57 MB / 1.264 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.005069/0.8328, allocations: 2.84 MB / 1.57 GB, free: 10.66 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.8345, allocations: 0.7684 MB / 1.57 GB, free: 9.887 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.8355, allocations: 483.2 kB / 1.571 GB, free: 9.414 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.8356, allocations: 16.64 kB / 1.571 GB, free: 9.398 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.8356, allocations: 39.22 kB / 1.571 GB, free: 9.352 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/0.8356, allocations: 0 / 1.571 GB, free: 9.352 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002813/0.8384, allocations: 1.153 MB / 1.572 GB, free: 8.191 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.8385, allocations: 60.06 kB / 1.572 GB, free: 8.121 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.8394, allocations: 0.5942 MB / 1.573 GB, free: 7.52 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.8394, allocations: 37.7 kB / 1.573 GB, free: 7.477 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.8398, allocations: 440.8 kB / 1.573 GB, free: 7.039 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.8402, allocations: 265.7 kB / 1.573 GB, free: 6.777 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.8404, allocations: 118.3 kB / 1.573 GB, free: 6.656 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.8406, allocations: 390.7 kB / 1.574 GB, free: 6.266 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.8413, allocations: 333.1 kB / 1.574 GB, free: 5.938 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.8421, allocations: 409 kB / 1.575 GB, free: 5.516 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.8436, allocations: 0.7605 MB / 1.575 GB, free: 4.738 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.8436, allocations: 4 kB / 1.575 GB, free: 4.734 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001904/0.8455, allocations: 0.895 MB / 1.576 GB, free: 3.832 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.8455, allocations: 8 kB / 1.576 GB, free: 3.824 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8455, allocations: 0 / 1.576 GB, free: 3.824 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.8456, allocations: 4 kB / 1.576 GB, free: 3.82 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.8464, allocations: 159.9 kB / 1.576 GB, free: 3.664 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.8464, allocations: 8 kB / 1.576 GB, free: 3.656 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.8473, allocations: 59.64 kB / 1.576 GB, free: 3.598 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.8474, allocations: 31.92 kB / 1.576 GB, free: 3.566 MB / 1.264 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.0005964/0.848, allocations: 286.7 kB / 1.577 GB, free: 3.277 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8482, allocations: 87.47 kB / 1.577 GB, free: 3.191 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.8485, allocations: 111.3 kB / 1.577 GB, free: 3.074 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8485, allocations: 4 kB / 1.577 GB, free: 3.07 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.8485, allocations: 0 / 1.577 GB, free: 3.07 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001751/0.8502, allocations: 0.9228 MB / 1.578 GB, free: 2.098 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.8537, allocations: 1.723 MB / 1.579 GB, free: 344 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.8537, allocations: 4 kB / 1.579 GB, free: 340 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.8547, allocations: 183.8 kB / 1.58 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8547, allocations: 0 / 1.58 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.8548, allocations: 23.94 kB / 1.58 GB, free: 132 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.8548, allocations: 0 / 1.58 GB, free: 132 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8548, allocations: 4 kB / 1.58 GB, free: 128 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.8575, allocations: 1.37 MB / 1.581 GB, free: 14.74 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.858, allocations: 179.2 kB / 1.581 GB, free: 14.56 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.8581, allocations: 15.94 kB / 1.581 GB, free: 14.55 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/0.8589, allocations: 39.97 kB / 1.581 GB, free: 14.51 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.8591, allocations: 44.56 kB / 1.581 GB, free: 14.46 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.8591, allocations: 27.98 kB / 1.581 GB, free: 14.44 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006387/0.8598, allocations: 423 kB / 1.582 GB, free: 14.03 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8598, allocations: 0 / 1.582 GB, free: 14.03 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001054/0.8608, allocations: 335.4 kB / 1.582 GB, free: 13.7 MB / 1.279 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.0003651/0.8612, allocations: 175.2 kB / 1.582 GB, free: 13.52 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.8629, allocations: 0.7512 MB / 1.583 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8629, allocations: 0 / 1.583 GB, free: 12.77 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.8637, allocations: 415.9 kB / 1.583 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.866, allocations: 0.5169 MB / 1.584 GB, free: 11.86 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.8706, allocations: 2.317 MB / 1.586 GB, free: 9.508 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.8712, allocations: 0.4986 MB / 1.587 GB, free: 8.977 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.8716, allocations: 83.41 kB / 1.587 GB, free: 8.895 MB / 1.279 GB Notification: Performance of SimCode: time 1.002e-06/0.8716, allocations: 0 / 1.587 GB, free: 8.895 MB / 1.279 GB Notification: Performance of Templates: time 0.03053/0.9022, allocations: 16.25 MB / 1.603 GB, free: 8.727 MB / 1.295 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=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.136056562885642]