Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001647/0.001647, 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.001822/0.001822, allocations: 212.9 kB / 22.24 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002093/0.002093, allocations: 69.3 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3547/0.6876, allocations: 280.1 MB / 1.599 GB, free: 8.719 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.7489/1.437, allocations: 17.27 MB / 1.616 GB, free: 4.453 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/1.44, allocations: 118.8 kB / 1.616 GB, free: 4.453 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00534/1.446, allocations: 2.032 MB / 1.618 GB, free: 4.453 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01798/1.464, allocations: 7.645 MB / 1.626 GB, free: 4.223 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008405/1.472, allocations: 3.294 MB / 1.629 GB, free: 4.148 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0131/1.485, allocations: 9.204 MB / 1.638 GB, free: 4.129 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/1.49, allocations: 2.363 MB / 1.64 GB, free: 19.94 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008072/1.498, allocations: 3.782 MB / 1.644 GB, free: 19.93 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007828/1.506, allocations: 3.229 MB / 1.647 GB, free: 19.93 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001786/1.508, allocations: 406 kB / 1.647 GB, free: 19.93 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/1.521, allocations: 5.743 MB / 1.653 GB, free: 19.86 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002834/1.524, allocations: 1.683 MB / 1.655 GB, free: 19.86 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005326/1.529, allocations: 1.93 MB / 1.656 GB, free: 19.83 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01478/1.544, allocations: 7.994 MB / 1.664 GB, free: 18.89 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.544, allocations: 0.75 kB / 1.664 GB, free: 18.89 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.683e-06/1.544, allocations: 5.375 kB / 1.664 GB, free: 18.89 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001904/1.544, allocations: 0.5938 kB / 1.664 GB, free: 18.89 MB / 1.311 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.01476/1.559, allocations: 4.952 MB / 1.669 GB, free: 16.98 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.559, allocations: 12.25 kB / 1.669 GB, free: 16.98 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/1.566, allocations: 1.025 MB / 1.67 GB, free: 16.76 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/1.572, allocations: 2.106 MB / 1.672 GB, free: 16.22 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/1.572, allocations: 243.1 kB / 1.672 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.573, allocations: 331.3 kB / 1.673 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008973/1.582, allocations: 4.803 MB / 1.677 GB, free: 15.42 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/1.582, allocations: 5.906 kB / 1.677 GB, free: 15.42 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004937/1.583, allocations: 133.4 kB / 1.677 GB, free: 15.42 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/1.583, allocations: 216 kB / 1.678 GB, free: 15.41 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008159/1.591, allocations: 4.984 MB / 1.683 GB, free: 15.38 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.01986/1.611, allocations: 9.837 MB / 1.692 GB, free: 13.16 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005937/1.617, allocations: 4.256 MB / 1.696 GB, free: 13.01 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.62, allocations: 2.239 MB / 1.698 GB, free: 12.98 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.621, allocations: 256.5 kB / 1.699 GB, free: 12.97 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.831e-05/1.621, allocations: 76.58 kB / 1.699 GB, free: 12.93 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 7.374e-06/1.621, allocations: 1.031 kB / 1.699 GB, free: 12.93 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.008848/1.63, allocations: 5.536 MB / 1.704 GB, free: 12.64 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.63, allocations: 91.92 kB / 1.704 GB, free: 12.57 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/1.633, allocations: 1.562 MB / 1.706 GB, free: 12.38 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004775/1.633, allocations: 92.95 kB / 1.706 GB, free: 12.34 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/1.634, allocations: 1.256 MB / 1.707 GB, free: 11.77 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.636, allocations: 1.398 MB / 1.709 GB, free: 10.84 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.637, allocations: 0.6111 MB / 1.709 GB, free: 10.8 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.637, allocations: 305.1 kB / 1.709 GB, free: 10.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/1.639, allocations: 1.663 MB / 1.711 GB, free: 10.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/1.642, allocations: 2.089 MB / 1.713 GB, free: 10.22 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/1.648, allocations: 3.926 MB / 1.717 GB, free: 9.625 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/1.648, allocations: 2.875 kB / 1.717 GB, free: 9.625 MB / 1.311 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00774/1.656, allocations: 4.435 MB / 1.721 GB, free: 7.918 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.656, allocations: 8.375 kB / 1.721 GB, free: 7.918 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.656, allocations: 6.031 kB / 1.721 GB, free: 7.918 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/1.656, allocations: 23.94 kB / 1.721 GB, free: 7.914 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/1.659, allocations: 0.7591 MB / 1.722 GB, free: 7.883 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-05/1.659, allocations: 27.7 kB / 1.722 GB, free: 7.883 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/1.662, allocations: 282.3 kB / 1.722 GB, free: 7.668 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/1.663, allocations: 124.7 kB / 1.722 GB, free: 7.641 MB / 1.311 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.001906/1.665, allocations: 0.8054 MB / 1.723 GB, free: 7.223 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/1.666, allocations: 297.6 kB / 1.724 GB, free: 7.07 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00766/1.673, allocations: 4.418 MB / 1.728 GB, free: 5.262 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.673, allocations: 42 kB / 1.728 GB, free: 5.258 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.673, allocations: 2.766 kB / 1.728 GB, free: 5.258 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005844/1.679, allocations: 3.799 MB / 1.732 GB, free: 3.676 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.694, allocations: 7.586 MB / 1.739 GB, free: 492 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.694, allocations: 3.031 kB / 1.739 GB, free: 492 kB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003385/1.697, allocations: 0.7272 MB / 1.74 GB, free: 372 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.243e-05/1.697, allocations: 14.06 kB / 1.74 GB, free: 372 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/1.698, allocations: 83.64 kB / 1.74 GB, free: 316 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.672e-05/1.698, allocations: 20.58 kB / 1.74 GB, free: 312 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.698, allocations: 3.344 kB / 1.74 GB, free: 312 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.708, allocations: 6.576 MB / 1.746 GB, free: 12.84 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/1.711, allocations: 0.7094 MB / 1.747 GB, free: 12.35 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008065/1.712, allocations: 75.78 kB / 1.747 GB, free: 12.3 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.714, allocations: 92.08 kB / 1.747 GB, free: 12.24 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/1.715, allocations: 246.5 kB / 1.747 GB, free: 12.08 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/1.715, allocations: 120.9 kB / 1.747 GB, free: 12.04 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001787/1.717, allocations: 1.025 MB / 1.748 GB, free: 11.5 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.1e-07/1.717, allocations: 0 / 1.748 GB, free: 11.5 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003195/1.72, allocations: 1.284 MB / 1.75 GB, free: 11.23 MB / 1.326 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.000949/1.721, allocations: 453.5 kB / 1.75 GB, free: 11.03 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007332/1.728, allocations: 3.86 MB / 1.754 GB, free: 7.52 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.729, allocations: 0 / 1.754 GB, free: 7.52 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.732, allocations: 1.99 MB / 1.756 GB, free: 5.609 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007183/1.739, allocations: 1.465 MB / 1.757 GB, free: 4.176 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.753, allocations: 7.766 MB / 1.765 GB, free: 12.39 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.755, allocations: 1.643 MB / 1.766 GB, free: 10.7 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.004913/1.76, allocations: 1.243 MB / 1.768 GB, free: 9.453 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.762, allocations: 267.4 kB / 1.768 GB, free: 9.191 MB / 1.342 GB Notification: Performance of SimCode: time 1.032e-06/1.762, allocations: 0 / 1.768 GB, free: 9.191 MB / 1.342 GB Notification: Performance of Templates: time 0.1124/1.874, allocations: 66.05 MB / 1.832 GB, free: 8.566 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.467097779735923]