Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.001717/0.001717, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.00209/0.00209, allocations: 221 kB / 23 MB, free: 4.918 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.637/1.637, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.612/3.612, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [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.002109/0.002109, allocations: 68.34 kB / 1.187 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4718, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.659/2.131, allocations: 263 MB / 1.621 GB, free: 4.434 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03251/2.163, allocations: 16.05 MB / 1.637 GB, free: 4.398 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006105/2.17, allocations: 104.9 kB / 1.637 GB, free: 4.398 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007685/2.177, allocations: 1.789 MB / 1.639 GB, free: 4.359 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02859/2.206, allocations: 6.802 MB / 1.646 GB, free: 4.113 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01364/2.219, allocations: 3.001 MB / 1.649 GB, free: 4.043 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01702/2.236, allocations: 7.857 MB / 1.656 GB, free: 4.023 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004904/2.241, allocations: 1.954 MB / 1.658 GB, free: 3.852 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009681/2.251, allocations: 3.172 MB / 1.661 GB, free: 3.852 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008475/2.26, allocations: 2.733 MB / 1.664 GB, free: 3.848 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/2.261, allocations: 330.8 kB / 1.664 GB, free: 3.848 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/2.278, allocations: 5.082 MB / 1.669 GB, free: 3.785 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00341/2.281, allocations: 1.358 MB / 1.67 GB, free: 3.785 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006211/2.287, allocations: 1.598 MB / 1.672 GB, free: 3.566 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0192/2.306, allocations: 6.785 MB / 1.679 GB, free: 2.785 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/2.307, allocations: 1.031 kB / 1.679 GB, free: 2.785 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.176e-06/2.307, allocations: 0 / 1.679 GB, free: 2.785 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001649/2.307, allocations: 0 / 1.679 GB, free: 2.785 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01213/2.319, allocations: 4.128 MB / 1.683 GB, free: 1.125 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/2.319, allocations: 11.41 kB / 1.683 GB, free: 1.125 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/2.33, allocations: 1.584 MB / 1.684 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/2.335, allocations: 1.861 MB / 1.686 GB, free: 476 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/2.336, allocations: 204.2 kB / 1.686 GB, free: 468 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005787/2.336, allocations: 257.7 kB / 1.687 GB, free: 464 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/2.344, allocations: 4.264 MB / 1.691 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/2.344, allocations: 3.938 kB / 1.691 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/2.344, allocations: 106.5 kB / 1.691 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/2.344, allocations: 160.2 kB / 1.691 GB, free: 15.65 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008018/2.352, allocations: 4.258 MB / 1.695 GB, free: 15.62 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.01734/2.37, allocations: 8.726 MB / 1.704 GB, free: 13.38 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006361/2.376, allocations: 3.556 MB / 1.707 GB, free: 13.29 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/2.38, allocations: 2.004 MB / 1.709 GB, free: 13.24 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/2.38, allocations: 42.28 kB / 1.709 GB, free: 13.23 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/2.38, allocations: 68.94 kB / 1.709 GB, free: 13.19 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.22e-06/2.38, allocations: 0 / 1.709 GB, free: 13.19 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.009551/2.389, allocations: 4.781 MB / 1.714 GB, free: 12.58 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/2.39, allocations: 79.19 kB / 1.714 GB, free: 12.52 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/2.392, allocations: 1.33 MB / 1.715 GB, free: 12 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/2.392, allocations: 76.89 kB / 1.715 GB, free: 11.93 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/2.393, allocations: 1.057 MB / 1.716 GB, free: 11.11 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/2.395, allocations: 0.9956 MB / 1.717 GB, free: 10.32 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000985/2.396, allocations: 449.3 kB / 1.718 GB, free: 10.12 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001565/2.396, allocations: 307 kB / 1.718 GB, free: 9.82 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/2.399, allocations: 1.478 MB / 1.719 GB, free: 9.289 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/2.403, allocations: 1.756 MB / 1.721 GB, free: 8.539 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0068/2.409, allocations: 3.321 MB / 1.724 GB, free: 7.031 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/2.409, allocations: 2.938 kB / 1.724 GB, free: 7.031 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008504/2.418, allocations: 3.753 MB / 1.728 GB, free: 5.562 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/2.418, allocations: 8.719 kB / 1.728 GB, free: 5.562 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/2.418, allocations: 5.531 kB / 1.728 GB, free: 5.562 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.654e-05/2.418, allocations: 14.94 kB / 1.728 GB, free: 5.562 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/2.421, allocations: 0.6221 MB / 1.729 GB, free: 5.535 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.107e-05/2.422, allocations: 20.2 kB / 1.729 GB, free: 5.535 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/2.425, allocations: 264.8 kB / 1.729 GB, free: 5.383 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/2.426, allocations: 104.7 kB / 1.729 GB, free: 5.352 MB / 1.311 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 (332): * Single equations (assignments): 332 * 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.002003/2.428, allocations: 0.6497 MB / 1.73 GB, free: 5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.429, allocations: 229.6 kB / 1.73 GB, free: 4.883 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/2.43, allocations: 332.2 kB / 1.73 GB, free: 4.621 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/2.43, allocations: 24.5 kB / 1.73 GB, free: 4.621 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-05/2.43, allocations: 0 / 1.73 GB, free: 4.621 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006973/2.437, allocations: 3.247 MB / 1.733 GB, free: 3.309 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/2.452, allocations: 6.358 MB / 1.74 GB, free: 0.5586 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/2.452, allocations: 3.984 kB / 1.74 GB, free: 0.5547 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/2.456, allocations: 0.6109 MB / 1.74 GB, free: 444 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/2.456, allocations: 12.84 kB / 1.74 GB, free: 440 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003369/2.456, allocations: 71.86 kB / 1.74 GB, free: 388 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.054e-05/2.456, allocations: 12.5 kB / 1.74 GB, free: 384 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/2.456, allocations: 3.531 kB / 1.74 GB, free: 384 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/2.468, allocations: 5.612 MB / 1.746 GB, free: 13.41 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002642/2.471, allocations: 0.5839 MB / 1.746 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008388/2.472, allocations: 52.06 kB / 1.746 GB, free: 12.96 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003295/2.475, allocations: 139.8 kB / 1.747 GB, free: 12.88 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/2.476, allocations: 167.7 kB / 1.747 GB, free: 12.77 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/2.476, allocations: 89.98 kB / 1.747 GB, free: 12.74 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002084/2.478, allocations: 0.8888 MB / 1.748 GB, free: 12.26 MB / 1.326 GB Notification: Performance of sort global known variables: time 7e-08/2.478, allocations: 0 / 1.748 GB, free: 12.26 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003901/2.482, allocations: 1.036 MB / 1.749 GB, free: 12.06 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.0008492/2.483, allocations: 327.2 kB / 1.749 GB, free: 11.88 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007693/2.49, allocations: 3.325 MB / 1.752 GB, free: 10.34 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/2.491, allocations: 2.688 kB / 1.752 GB, free: 10.34 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/2.494, allocations: 1.715 MB / 1.754 GB, free: 9.578 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008094/2.502, allocations: 1.295 MB / 1.755 GB, free: 8.875 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/2.519, allocations: 6.727 MB / 1.762 GB, free: 4.402 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/2.521, allocations: 1.338 MB / 1.763 GB, free: 3.023 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/2.524, allocations: 247.3 kB / 1.763 GB, free: 2.781 MB / 1.326 GB Notification: Performance of SimCode: time 1.502e-06/2.524, allocations: 0 / 1.763 GB, free: 2.781 MB / 1.326 GB Notification: Performance of Templates: time 0.09412/2.618, allocations: 49.27 MB / 1.811 GB, free: 1.723 MB / 1.373 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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: 23.381587899755687]