Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.001632/0.001632, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002005/0.002005, allocations: 215 kB / 22.25 MB, free: 5.262 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.789 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.666/3.666, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [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.003794/0.003794, allocations: 62.44 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5537, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.576/2.13, allocations: 280.2 MB / 1.637 GB, free: 4.328 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03313/2.163, allocations: 17.42 MB / 1.654 GB, free: 4.234 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006909/2.17, allocations: 116.6 kB / 1.655 GB, free: 4.234 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007348/2.177, allocations: 2.031 MB / 1.657 GB, free: 4.195 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02275/2.2, allocations: 7.721 MB / 1.664 GB, free: 3.898 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/2.21, allocations: 3.285 MB / 1.667 GB, free: 3.812 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01667/2.227, allocations: 9.269 MB / 1.676 GB, free: 3.789 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/2.232, allocations: 2.376 MB / 1.679 GB, free: 3.594 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/2.243, allocations: 3.805 MB / 1.682 GB, free: 3.59 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008765/2.252, allocations: 3.255 MB / 1.686 GB, free: 3.508 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001594/2.254, allocations: 413.5 kB / 1.686 GB, free: 3.508 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0188/2.273, allocations: 5.767 MB / 1.692 GB, free: 3.441 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004036/2.277, allocations: 1.698 MB / 1.693 GB, free: 3.246 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006736/2.283, allocations: 1.947 MB / 1.695 GB, free: 2.816 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02381/2.307, allocations: 8.052 MB / 1.703 GB, free: 1.871 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/2.307, allocations: 0.875 kB / 1.703 GB, free: 1.871 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.154e-06/2.307, allocations: 0 / 1.703 GB, free: 1.871 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002532/2.307, allocations: 5.938 kB / 1.703 GB, free: 1.871 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01608/2.323, allocations: 4.979 MB / 1.708 GB, free: 15.94 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/2.323, allocations: 11 kB / 1.708 GB, free: 15.94 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/2.339, allocations: 2.029 MB / 1.71 GB, free: 15.68 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/2.346, allocations: 2.191 MB / 1.712 GB, free: 15.13 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/2.346, allocations: 258.7 kB / 1.712 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/2.347, allocations: 327.1 kB / 1.713 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/2.359, allocations: 5.534 MB / 1.718 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-05/2.359, allocations: 8.266 kB / 1.718 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004565/2.36, allocations: 134.4 kB / 1.718 GB, free: 14.32 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/2.36, allocations: 212.8 kB / 1.718 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/2.373, allocations: 6.091 MB / 1.724 GB, free: 14.04 MB / 1.311 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.02775/2.401, allocations: 11.07 MB / 1.735 GB, free: 8.469 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/2.412, allocations: 5.288 MB / 1.74 GB, free: 5.617 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006268/2.418, allocations: 2.755 MB / 1.743 GB, free: 4.242 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/2.418, allocations: 74.55 kB / 1.743 GB, free: 4.223 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/2.419, allocations: 79.81 kB / 1.743 GB, free: 4.148 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.272e-06/2.419, allocations: 0 / 1.743 GB, free: 4.148 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01642/2.435, allocations: 7.025 MB / 1.75 GB, free: 0.7031 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/2.435, allocations: 91.86 kB / 1.75 GB, free: 0.6367 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/2.438, allocations: 1.577 MB / 1.752 GB, free: 15.81 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.000668/2.439, allocations: 96.8 kB / 1.752 GB, free: 15.72 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/2.44, allocations: 1.265 MB / 1.753 GB, free: 14.61 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/2.442, allocations: 1.401 MB / 1.754 GB, free: 13.39 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/2.444, allocations: 0.623 MB / 1.755 GB, free: 13.05 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001576/2.444, allocations: 301.1 kB / 1.755 GB, free: 12.75 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/2.448, allocations: 2.231 MB / 1.757 GB, free: 11.62 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004885/2.453, allocations: 2.655 MB / 1.76 GB, free: 10.11 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009527/2.463, allocations: 4.938 MB / 1.765 GB, free: 7.461 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/2.463, allocations: 0 / 1.765 GB, free: 7.461 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01156/2.474, allocations: 5.537 MB / 1.77 GB, free: 4.73 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/2.474, allocations: 8.25 kB / 1.77 GB, free: 4.73 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/2.474, allocations: 2.562 kB / 1.77 GB, free: 4.73 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/2.474, allocations: 26.97 kB / 1.77 GB, free: 4.727 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/2.48, allocations: 0.8825 MB / 1.771 GB, free: 4.324 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-05/2.48, allocations: 24.56 kB / 1.771 GB, free: 4.305 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/2.485, allocations: 389.7 kB / 1.771 GB, free: 3.922 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/2.485, allocations: 132 kB / 1.772 GB, free: 3.793 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.002211/2.487, allocations: 0.8132 MB / 1.772 GB, free: 3.016 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.488, allocations: 294.2 kB / 1.773 GB, free: 2.727 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/2.489, allocations: 456.6 kB / 1.773 GB, free: 2.27 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/2.489, allocations: 36 kB / 1.773 GB, free: 2.234 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/2.489, allocations: 0 / 1.773 GB, free: 2.234 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009963/2.499, allocations: 4.81 MB / 1.778 GB, free: 13.36 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/2.521, allocations: 9.105 MB / 1.787 GB, free: 4.266 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/2.521, allocations: 7.984 kB / 1.787 GB, free: 4.258 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005389/2.526, allocations: 0.8462 MB / 1.788 GB, free: 3.449 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.057e-05/2.526, allocations: 12 kB / 1.788 GB, free: 3.438 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005376/2.527, allocations: 99.88 kB / 1.788 GB, free: 3.34 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.838e-05/2.527, allocations: 16 kB / 1.788 GB, free: 3.324 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.527, allocations: 6.531 kB / 1.788 GB, free: 3.32 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/2.545, allocations: 8.367 MB / 1.796 GB, free: 10.87 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/2.548, allocations: 0.8056 MB / 1.797 GB, free: 10.06 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009723/2.549, allocations: 71.94 kB / 1.797 GB, free: 9.992 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/2.553, allocations: 197.7 kB / 1.797 GB, free: 9.801 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007098/2.554, allocations: 241.1 kB / 1.797 GB, free: 9.566 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004839/2.555, allocations: 119.9 kB / 1.797 GB, free: 9.449 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.002529/2.557, allocations: 1.04 MB / 1.798 GB, free: 8.418 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.61e-07/2.557, allocations: 8 kB / 1.798 GB, free: 8.41 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.004788/2.562, allocations: 1.354 MB / 1.8 GB, free: 7.055 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001095/2.563, allocations: 405.1 kB / 1.8 GB, free: 6.703 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.0115/2.574, allocations: 4.968 MB / 1.805 GB, free: 1.781 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/2.574, allocations: 4 kB / 1.805 GB, free: 1.777 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.005626/2.58, allocations: 2.524 MB / 1.807 GB, free: 15.33 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00829/2.588, allocations: 1.487 MB / 1.809 GB, free: 13.87 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/2.61, allocations: 8.608 MB / 1.817 GB, free: 5.211 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/2.614, allocations: 1.644 MB / 1.819 GB, free: 3.523 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.01079/2.624, allocations: 1.399 MB / 1.82 GB, free: 2.117 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003545/2.628, allocations: 283.3 kB / 1.82 GB, free: 1.84 MB / 1.373 GB Notification: Performance of SimCode: time 1.724e-06/2.628, allocations: 7.938 kB / 1.82 GB, free: 1.832 MB / 1.373 GB Notification: Performance of Templates: time 0.1421/2.77, allocations: 78.38 MB / 1.897 GB, free: 4.824 MB / 1.451 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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: 15.790340362116694]