Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00202/0.00202, allocations: 110.6 kB / 16.46 MB, free: 6.508 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.002292/0.002292, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.529/1.529, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.421/3.421, allocations: 0.4899 GB / 0.7915 GB, free: 33.24 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.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_12_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_12_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.003642/0.003642, allocations: 63.56 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4348, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.564/1.999, allocations: 299.6 MB / 1.614 GB, free: 4.125 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03338/2.033, allocations: 17.05 MB / 1.63 GB, free: 4.102 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006886/2.039, allocations: 106.8 kB / 1.631 GB, free: 4.102 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.008033/2.048, allocations: 1.99 MB / 1.632 GB, free: 4.066 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02722/2.075, allocations: 6.632 MB / 1.639 GB, free: 3.82 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/2.086, allocations: 2.984 MB / 1.642 GB, free: 3.75 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01917/2.106, allocations: 7.717 MB / 1.649 GB, free: 3.73 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/2.112, allocations: 2.159 MB / 1.652 GB, free: 19.55 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/2.123, allocations: 3.128 MB / 1.655 GB, free: 19.55 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009933/2.133, allocations: 2.831 MB / 1.657 GB, free: 19.55 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002295/2.135, allocations: 327.6 kB / 1.658 GB, free: 19.55 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/2.156, allocations: 6.53 MB / 1.664 GB, free: 19.49 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.004224/2.16, allocations: 1.346 MB / 1.665 GB, free: 19.49 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.0078/2.168, allocations: 1.877 MB / 1.667 GB, free: 19.18 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/2.191, allocations: 6.911 MB / 1.674 GB, free: 18.4 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/2.191, allocations: 0 / 1.674 GB, free: 18.4 MB / 1.311 GB Notification: Performance of FrontEnd: time 3.046e-06/2.191, allocations: 0.7188 kB / 1.674 GB, free: 18.4 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002777/2.191, allocations: 0 / 1.674 GB, free: 18.4 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.018/2.209, allocations: 4.194 MB / 1.678 GB, free: 16.66 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/2.21, allocations: 13.58 kB / 1.678 GB, free: 16.65 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008021/2.218, allocations: 0.9303 MB / 1.679 GB, free: 16.47 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/2.224, allocations: 1.895 MB / 1.681 GB, free: 15.95 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/2.224, allocations: 197.3 kB / 1.681 GB, free: 15.94 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/2.225, allocations: 264.2 kB / 1.681 GB, free: 15.93 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007724/2.233, allocations: 3.415 MB / 1.685 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.654e-05/2.233, allocations: 7.547 kB / 1.685 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/2.233, allocations: 113.1 kB / 1.685 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/2.233, allocations: 156.3 kB / 1.685 GB, free: 15.63 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007334/2.241, allocations: 3.636 MB / 1.688 GB, free: 15.6 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.02315/2.264, allocations: 12.55 MB / 1.701 GB, free: 9.324 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/2.269, allocations: 3.318 MB / 1.704 GB, free: 8.746 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/2.273, allocations: 1.7 MB / 1.706 GB, free: 8.707 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/2.274, allocations: 1.493 MB / 1.707 GB, free: 7.098 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/2.275, allocations: 64.78 kB / 1.707 GB, free: 7.055 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 4.799e-06/2.275, allocations: 0 / 1.707 GB, free: 7.055 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.007609/2.282, allocations: 3.902 MB / 1.711 GB, free: 6.789 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/2.282, allocations: 80.34 kB / 1.711 GB, free: 6.723 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/2.285, allocations: 1.393 MB / 1.712 GB, free: 6.551 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/2.285, allocations: 73.92 kB / 1.712 GB, free: 6.52 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/2.286, allocations: 1.039 MB / 1.713 GB, free: 6.07 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001273/2.287, allocations: 0.9954 MB / 1.714 GB, free: 5.41 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007358/2.288, allocations: 444.4 kB / 1.715 GB, free: 5.375 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001751/2.288, allocations: 308.2 kB / 1.715 GB, free: 5.074 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/2.29, allocations: 1.143 MB / 1.716 GB, free: 5.066 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/2.292, allocations: 1.421 MB / 1.718 GB, free: 4.879 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/2.297, allocations: 2.729 MB / 1.72 GB, free: 4.34 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/2.297, allocations: 0 / 1.72 GB, free: 4.34 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005969/2.303, allocations: 3.114 MB / 1.723 GB, free: 3.086 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/2.303, allocations: 6.656 kB / 1.723 GB, free: 3.086 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/2.303, allocations: 5.406 kB / 1.723 GB, free: 3.086 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/2.303, allocations: 17.12 kB / 1.723 GB, free: 3.086 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/2.305, allocations: 0.5456 MB / 1.724 GB, free: 3.062 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.936e-05/2.305, allocations: 16.53 kB / 1.724 GB, free: 3.059 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/2.308, allocations: 213 kB / 1.724 GB, free: 2.898 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/2.308, allocations: 91.73 kB / 1.724 GB, free: 2.875 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.001765/2.31, allocations: 0.6491 MB / 1.725 GB, free: 2.52 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008414/2.311, allocations: 238.9 kB / 1.725 GB, free: 2.398 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/2.317, allocations: 3.118 MB / 1.728 GB, free: 1.062 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/2.317, allocations: 28.72 kB / 1.728 GB, free: 1.062 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/2.317, allocations: 2.906 kB / 1.728 GB, free: 1.062 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004821/2.322, allocations: 2.657 MB / 1.731 GB, free: 15.72 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/2.334, allocations: 6.214 MB / 1.737 GB, free: 11.99 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/2.334, allocations: 0 / 1.737 GB, free: 11.99 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/2.337, allocations: 0.5455 MB / 1.737 GB, free: 11.9 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-05/2.337, allocations: 19.02 kB / 1.737 GB, free: 11.89 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/2.337, allocations: 56.42 kB / 1.737 GB, free: 11.85 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/2.337, allocations: 10.91 kB / 1.737 GB, free: 11.85 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.337, allocations: 0 / 1.737 GB, free: 11.85 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/2.345, allocations: 4.59 MB / 1.742 GB, free: 9.418 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/2.348, allocations: 0.6248 MB / 1.742 GB, free: 8.941 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/2.348, allocations: 54.66 kB / 1.743 GB, free: 8.898 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/2.35, allocations: 64.55 kB / 1.743 GB, free: 8.855 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/2.35, allocations: 164.5 kB / 1.743 GB, free: 8.77 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/2.351, allocations: 84.47 kB / 1.743 GB, free: 8.742 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001661/2.352, allocations: 0.9419 MB / 1.744 GB, free: 8.234 MB / 1.326 GB Notification: Performance of sort global known variables: time 8.1e-08/2.352, allocations: 0 / 1.744 GB, free: 8.234 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003496/2.356, allocations: 1.002 MB / 1.745 GB, free: 8.031 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.001023/2.357, allocations: 386.9 kB / 1.745 GB, free: 7.711 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005219/2.362, allocations: 2.683 MB / 1.748 GB, free: 5.039 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.362, allocations: 0 / 1.748 GB, free: 5.039 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/2.364, allocations: 1.396 MB / 1.749 GB, free: 3.691 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007366/2.372, allocations: 1.351 MB / 1.75 GB, free: 2.367 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/2.384, allocations: 6.096 MB / 1.756 GB, free: 12.23 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/2.386, allocations: 1.903 MB / 1.758 GB, free: 10.3 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003865/2.39, allocations: 0.8712 MB / 1.759 GB, free: 9.422 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/2.391, allocations: 211.4 kB / 1.759 GB, free: 9.215 MB / 1.342 GB Notification: Performance of SimCode: time 1.273e-06/2.391, allocations: 0 / 1.759 GB, free: 9.215 MB / 1.342 GB Notification: Performance of Templates: time 0.1029/2.494, allocations: 50.83 MB / 1.809 GB, free: 7.16 MB / 1.389 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.526790611911565]