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.002008/0.002008, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002594/0.002594, allocations: 216.4 kB / 22.3 MB, free: 5.281 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.683/1.683, allocations: 230.6 MB / 256.1 MB, free: 7.723 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.231/3.231, allocations: 0.5107 GB / 0.8159 GB, free: 17.71 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.002118/0.002118, allocations: 72.05 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4321, allocations: 181.9 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.381/1.813, allocations: 263 MB / 1.621 GB, free: 4.359 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03509/1.848, allocations: 16.05 MB / 1.636 GB, free: 4.32 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008382/1.856, allocations: 105.7 kB / 1.637 GB, free: 4.32 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.009848/1.866, allocations: 1.795 MB / 1.638 GB, free: 4.281 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03384/1.9, allocations: 6.8 MB / 1.645 GB, free: 4.035 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0134/1.913, allocations: 3.009 MB / 1.648 GB, free: 3.961 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01586/1.929, allocations: 7.851 MB / 1.656 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/1.935, allocations: 1.952 MB / 1.658 GB, free: 3.773 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01123/1.946, allocations: 3.186 MB / 1.661 GB, free: 3.773 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009381/1.955, allocations: 2.736 MB / 1.663 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002481/1.958, allocations: 331.3 kB / 1.664 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/1.977, allocations: 5.08 MB / 1.669 GB, free: 3.707 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004861/1.982, allocations: 1.358 MB / 1.67 GB, free: 3.707 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008914/1.991, allocations: 1.594 MB / 1.671 GB, free: 3.484 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02335/2.015, allocations: 6.783 MB / 1.678 GB, free: 2.707 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/2.015, allocations: 0.75 kB / 1.678 GB, free: 2.707 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.923e-06/2.015, allocations: 0 / 1.678 GB, free: 2.707 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002788/2.015, allocations: 0 / 1.678 GB, free: 2.707 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.01769/2.033, allocations: 4.139 MB / 1.682 GB, free: 1.043 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/2.033, allocations: 14.55 kB / 1.682 GB, free: 1.043 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/2.046, allocations: 1.587 MB / 1.684 GB, free: 0.8594 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006851/2.053, allocations: 1.864 MB / 1.685 GB, free: 388 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/2.053, allocations: 206.9 kB / 1.686 GB, free: 380 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/2.055, allocations: 253.5 kB / 1.686 GB, free: 376 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/2.068, allocations: 4.262 MB / 1.69 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/2.068, allocations: 5.812 kB / 1.69 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/2.068, allocations: 106.6 kB / 1.69 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/2.069, allocations: 161.9 kB / 1.69 GB, free: 15.57 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009421/2.078, allocations: 4.257 MB / 1.695 GB, free: 15.53 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.02136/2.099, allocations: 8.726 MB / 1.703 GB, free: 13.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007756/2.107, allocations: 3.563 MB / 1.707 GB, free: 13.18 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004529/2.112, allocations: 2.005 MB / 1.708 GB, free: 13.14 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/2.112, allocations: 51.47 kB / 1.709 GB, free: 13.13 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.94e-05/2.112, allocations: 65.47 kB / 1.709 GB, free: 13.09 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 7.835e-06/2.112, allocations: 0 / 1.709 GB, free: 13.09 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.01151/2.124, allocations: 4.783 MB / 1.713 GB, free: 12.44 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/2.124, allocations: 81.5 kB / 1.713 GB, free: 12.37 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/2.126, allocations: 1.322 MB / 1.715 GB, free: 11.86 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/2.126, allocations: 76.48 kB / 1.715 GB, free: 11.79 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/2.127, allocations: 1.055 MB / 1.716 GB, free: 10.96 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/2.129, allocations: 1.001 MB / 1.717 GB, free: 10.18 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009287/2.13, allocations: 450.6 kB / 1.717 GB, free: 9.977 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001414/2.13, allocations: 305.1 kB / 1.717 GB, free: 9.676 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/2.133, allocations: 1.477 MB / 1.719 GB, free: 9.145 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/2.136, allocations: 1.757 MB / 1.721 GB, free: 8.395 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006508/2.143, allocations: 3.32 MB / 1.724 GB, free: 6.887 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/2.143, allocations: 0.75 kB / 1.724 GB, free: 6.887 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008076/2.151, allocations: 3.756 MB / 1.728 GB, free: 5.418 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/2.151, allocations: 11.98 kB / 1.728 GB, free: 5.418 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/2.151, allocations: 2.25 kB / 1.728 GB, free: 5.418 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/2.151, allocations: 16.91 kB / 1.728 GB, free: 5.418 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/2.154, allocations: 0.6154 MB / 1.728 GB, free: 5.395 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.019e-05/2.154, allocations: 18.72 kB / 1.728 GB, free: 5.395 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/2.158, allocations: 267.5 kB / 1.728 GB, free: 5.242 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/2.158, allocations: 95.44 kB / 1.728 GB, free: 5.219 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.00189/2.16, allocations: 0.6555 MB / 1.729 GB, free: 4.859 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008462/2.161, allocations: 235.5 kB / 1.729 GB, free: 4.738 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/2.162, allocations: 321.4 kB / 1.73 GB, free: 4.484 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/2.162, allocations: 30.56 kB / 1.73 GB, free: 4.48 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.074e-05/2.162, allocations: 3 kB / 1.73 GB, free: 4.48 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006392/2.168, allocations: 3.239 MB / 1.733 GB, free: 3.172 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/2.182, allocations: 6.361 MB / 1.739 GB, free: 456 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/2.182, allocations: 0 / 1.739 GB, free: 456 kB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/2.185, allocations: 0.6229 MB / 1.74 GB, free: 324 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/2.185, allocations: 8.312 kB / 1.74 GB, free: 324 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/2.185, allocations: 67.78 kB / 1.74 GB, free: 276 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.507e-05/2.185, allocations: 12.41 kB / 1.74 GB, free: 272 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.185, allocations: 0 / 1.74 GB, free: 272 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/2.196, allocations: 5.617 MB / 1.745 GB, free: 13.3 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/2.199, allocations: 0.5821 MB / 1.746 GB, free: 12.9 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005618/2.199, allocations: 53.59 kB / 1.746 GB, free: 12.86 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/2.202, allocations: 135 kB / 1.746 GB, free: 12.79 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/2.202, allocations: 172.6 kB / 1.746 GB, free: 12.68 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/2.203, allocations: 91.83 kB / 1.746 GB, free: 12.64 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001446/2.204, allocations: 0.884 MB / 1.747 GB, free: 12.16 MB / 1.326 GB Notification: Performance of sort global known variables: time 7e-08/2.204, allocations: 0 / 1.747 GB, free: 12.16 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003205/2.207, allocations: 1.04 MB / 1.748 GB, free: 11.96 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.0006948/2.208, allocations: 324.3 kB / 1.748 GB, free: 11.78 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.007054/2.215, allocations: 3.334 MB / 1.752 GB, free: 10.23 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/2.215, allocations: 0 / 1.752 GB, free: 10.23 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/2.219, allocations: 1.713 MB / 1.753 GB, free: 9.477 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006876/2.225, allocations: 1.296 MB / 1.755 GB, free: 8.773 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/2.238, allocations: 6.577 MB / 1.761 GB, free: 4.363 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/2.24, allocations: 1.342 MB / 1.762 GB, free: 2.98 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.004516/2.244, allocations: 0.9372 MB / 1.763 GB, free: 2.039 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.246, allocations: 216.4 kB / 1.763 GB, free: 1.828 MB / 1.326 GB Notification: Performance of SimCode: time 1.733e-06/2.246, allocations: 0 / 1.763 GB, free: 1.828 MB / 1.326 GB Notification: Performance of Templates: time 0.0949/2.34, allocations: 56.83 MB / 1.819 GB, free: 10.17 MB / 1.389 GB " [Timeout remaining time 298] 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/jenkins/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: 14.016360521316528]