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.001777/0.001777, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002208/0.002208, allocations: 216.7 kB / 22.99 MB, free: 4.914 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.497/3.497, allocations: 0.4892 GB / 0.7951 GB, free: 35.41 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.002204/0.002204, allocations: 73.78 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4818, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3893/0.8711, allocations: 263 MB / 1.583 GB, free: 10.01 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03251/0.9037, allocations: 15.91 MB / 1.599 GB, free: 10.06 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005719/0.9094, allocations: 107.2 kB / 1.599 GB, free: 9.953 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006856/0.9162, allocations: 1.787 MB / 1.6 GB, free: 8.156 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02203/0.9383, allocations: 6.728 MB / 1.607 GB, free: 1.402 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 1.231/2.169, allocations: 2.998 MB / 1.61 GB, free: 8.953 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01482/2.184, allocations: 7.805 MB / 1.618 GB, free: 8.941 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005548/2.19, allocations: 1.939 MB / 1.619 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/2.2, allocations: 3.153 MB / 1.623 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009867/2.21, allocations: 2.71 MB / 1.625 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/2.211, allocations: 326.9 kB / 1.626 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/2.228, allocations: 5.048 MB / 1.63 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003386/2.231, allocations: 1.351 MB / 1.632 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00475/2.236, allocations: 1.579 MB / 1.633 GB, free: 8.77 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02457/2.26, allocations: 6.723 MB / 1.64 GB, free: 8.367 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/2.26, allocations: 0.9375 kB / 1.64 GB, free: 8.367 MB / 1.295 GB Notification: Performance of FrontEnd: time 4.298e-06/2.26, allocations: 1.094 kB / 1.64 GB, free: 8.367 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002211/2.261, allocations: 0 / 1.64 GB, free: 8.367 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.01866/2.279, allocations: 4.111 MB / 1.644 GB, free: 22.72 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/2.279, allocations: 12.81 kB / 1.644 GB, free: 22.72 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006918/2.286, allocations: 0.9281 MB / 1.645 GB, free: 22.54 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/2.292, allocations: 1.809 MB / 1.647 GB, free: 22.06 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/2.292, allocations: 195.5 kB / 1.647 GB, free: 22.05 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/2.292, allocations: 263.6 kB / 1.647 GB, free: 22.05 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006998/2.299, allocations: 3.818 MB / 1.651 GB, free: 21.26 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/2.299, allocations: 5.672 kB / 1.651 GB, free: 21.26 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/2.3, allocations: 112.5 kB / 1.651 GB, free: 21.26 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/2.3, allocations: 158.9 kB / 1.651 GB, free: 21.25 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005956/2.306, allocations: 3.592 MB / 1.655 GB, free: 21.22 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.0167/2.322, allocations: 7.985 MB / 1.662 GB, free: 19.15 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/2.327, allocations: 2.939 MB / 1.665 GB, free: 19.05 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/2.329, allocations: 1.701 MB / 1.667 GB, free: 19.02 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009216/2.33, allocations: 214 kB / 1.667 GB, free: 19.02 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.111e-05/2.33, allocations: 67.19 kB / 1.667 GB, free: 18.98 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.661e-06/2.33, allocations: 1.031 kB / 1.667 GB, free: 18.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.00655/2.337, allocations: 3.886 MB / 1.671 GB, free: 18.72 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/2.337, allocations: 82.78 kB / 1.671 GB, free: 18.65 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/2.339, allocations: 1.309 MB / 1.672 GB, free: 18.47 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/2.339, allocations: 75.2 kB / 1.672 GB, free: 18.44 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/2.34, allocations: 1.05 MB / 1.673 GB, free: 17.97 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008751/2.341, allocations: 1 MB / 1.674 GB, free: 17.31 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006814/2.341, allocations: 442 kB / 1.675 GB, free: 17.28 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001625/2.341, allocations: 304.2 kB / 1.675 GB, free: 16.98 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/2.343, allocations: 1.141 MB / 1.676 GB, free: 16.97 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/2.345, allocations: 1.417 MB / 1.678 GB, free: 16.79 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/2.349, allocations: 2.729 MB / 1.68 GB, free: 16.56 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/2.349, allocations: 3.094 kB / 1.68 GB, free: 16.56 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005171/2.354, allocations: 3.11 MB / 1.683 GB, free: 16.32 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/2.354, allocations: 12.59 kB / 1.683 GB, free: 16.32 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/2.354, allocations: 4.297 kB / 1.683 GB, free: 16.32 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.686e-05/2.354, allocations: 17.75 kB / 1.683 GB, free: 16.32 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/2.357, allocations: 0.5353 MB / 1.684 GB, free: 16.32 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/2.357, allocations: 22.88 kB / 1.684 GB, free: 16.32 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/2.359, allocations: 201.9 kB / 1.684 GB, free: 16.21 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/2.36, allocations: 88.8 kB / 1.684 GB, free: 16.21 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.001677/2.361, allocations: 0.6441 MB / 1.685 GB, free: 16.09 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/2.362, allocations: 233.3 kB / 1.685 GB, free: 15.97 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/2.367, allocations: 3.111 MB / 1.688 GB, free: 15.79 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/2.367, allocations: 28.41 kB / 1.688 GB, free: 15.79 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/2.367, allocations: 2.812 kB / 1.688 GB, free: 15.79 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004005/2.371, allocations: 2.655 MB / 1.691 GB, free: 15.54 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/2.381, allocations: 5.435 MB / 1.696 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/2.381, allocations: 0.8438 kB / 1.696 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/2.383, allocations: 0.5393 MB / 1.696 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/2.383, allocations: 12.98 kB / 1.696 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/2.384, allocations: 58.97 kB / 1.697 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/2.384, allocations: 10.66 kB / 1.697 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.384, allocations: 0 / 1.697 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/2.39, allocations: 4.585 MB / 1.701 GB, free: 14.68 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/2.392, allocations: 0.5322 MB / 1.702 GB, free: 14.52 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007073/2.393, allocations: 49.67 kB / 1.702 GB, free: 14.52 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/2.396, allocations: 72.45 kB / 1.702 GB, free: 14.52 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/2.396, allocations: 168.7 kB / 1.702 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/2.396, allocations: 82.52 kB / 1.702 GB, free: 14.51 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001822/2.398, allocations: 0.8738 MB / 1.703 GB, free: 14.4 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/2.398, allocations: 2.438 kB / 1.703 GB, free: 14.4 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00358/2.401, allocations: 1.015 MB / 1.704 GB, free: 14.28 MB / 1.311 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.0008438/2.402, allocations: 385.9 kB / 1.704 GB, free: 14.15 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004402/2.407, allocations: 2.684 MB / 1.707 GB, free: 14.08 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.407, allocations: 0 / 1.707 GB, free: 14.08 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/2.409, allocations: 1.396 MB / 1.708 GB, free: 14.06 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/2.416, allocations: 1.267 MB / 1.709 GB, free: 13.91 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/2.43, allocations: 6.242 MB / 1.715 GB, free: 11.59 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/2.432, allocations: 1.331 MB / 1.717 GB, free: 11.37 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/2.434, allocations: 230.5 kB / 1.717 GB, free: 11.36 MB / 1.311 GB Notification: Performance of SimCode: time 1.903e-06/2.434, allocations: 4 kB / 1.717 GB, free: 11.36 MB / 1.311 GB Notification: Performance of Templates: time 0.09054/2.525, allocations: 44.22 MB / 1.76 GB, free: 2.113 MB / 1.326 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/jenkins1/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: 22.259927640203387]