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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 189.3 kB / 22.1 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 173.6 MB / 1.307 GB, free: 33.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3713/1.592, allocations: 294.4 MB / 1.594 GB, free: 1.879 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0317/1.623, allocations: 16.98 MB / 1.611 GB, free: 0.8594 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005577/1.629, allocations: 107.2 kB / 1.611 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006574/1.636, allocations: 1.993 MB / 1.613 GB, free: 14.75 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02185/1.657, allocations: 6.766 MB / 1.619 GB, free: 7.957 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/1.668, allocations: 3.046 MB / 1.622 GB, free: 4.91 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01367/1.682, allocations: 7.858 MB / 1.63 GB, free: 13.03 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004318/1.686, allocations: 1.959 MB / 1.632 GB, free: 11.01 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008177/1.694, allocations: 3.127 MB / 1.635 GB, free: 7.875 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007389/1.701, allocations: 2.841 MB / 1.638 GB, free: 5.035 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/1.703, allocations: 324 kB / 1.638 GB, free: 4.719 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/1.717, allocations: 5.103 MB / 1.643 GB, free: 15.6 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.002924/1.72, allocations: 1.344 MB / 1.644 GB, free: 14.25 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.004959/1.725, allocations: 1.879 MB / 1.646 GB, free: 12.37 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.0196/1.745, allocations: 6.674 MB / 1.653 GB, free: 5.672 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.745, allocations: 0 / 1.653 GB, free: 5.672 MB / 1.326 GB Notification: Performance of FrontEnd: time 1.984e-06/1.745, allocations: 0 / 1.653 GB, free: 5.672 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0001964/1.745, allocations: 3.938 kB / 1.653 GB, free: 5.668 MB / 1.326 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.01395/1.759, allocations: 4.112 MB / 1.657 GB, free: 1.5 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.759, allocations: 16.03 kB / 1.657 GB, free: 1.484 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006788/1.766, allocations: 0.9307 MB / 1.658 GB, free: 0.5508 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/1.771, allocations: 1.806 MB / 1.66 GB, free: 14.7 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.771, allocations: 193.1 kB / 1.66 GB, free: 14.51 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007318/1.771, allocations: 263.9 kB / 1.66 GB, free: 14.25 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/1.779, allocations: 3.414 MB / 1.663 GB, free: 10.73 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-05/1.779, allocations: 15.94 kB / 1.663 GB, free: 10.72 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/1.779, allocations: 108 kB / 1.663 GB, free: 10.61 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/1.779, allocations: 165.1 kB / 1.664 GB, free: 10.45 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/1.787, allocations: 3.627 MB / 1.667 GB, free: 6.809 MB / 1.342 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.02093/1.808, allocations: 12.41 MB / 1.679 GB, free: 9.438 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/1.813, allocations: 2.937 MB / 1.682 GB, free: 6.516 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/1.817, allocations: 1.705 MB / 1.684 GB, free: 4.801 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.818, allocations: 222 kB / 1.684 GB, free: 4.582 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.827e-05/1.818, allocations: 68.75 kB / 1.684 GB, free: 4.504 MB / 1.357 GB Notification: Performance of pre-optimization done (n=278): time 5.219e-06/1.818, allocations: 4 kB / 1.684 GB, free: 4.5 MB / 1.357 GB Notification: Performance of matching and sorting (n=278): time 0.008435/1.826, allocations: 3.898 MB / 1.688 GB, free: 0.5547 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.826, allocations: 81.59 kB / 1.688 GB, free: 472 kB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/1.829, allocations: 1.399 MB / 1.689 GB, free: 15.05 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.0004068/1.83, allocations: 73.7 kB / 1.689 GB, free: 14.98 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009648/1.831, allocations: 1.04 MB / 1.69 GB, free: 13.93 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.832, allocations: 0.9952 MB / 1.691 GB, free: 12.92 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.833, allocations: 441.4 kB / 1.692 GB, free: 12.48 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.833, allocations: 305.1 kB / 1.692 GB, free: 12.18 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.835, allocations: 1.141 MB / 1.693 GB, free: 11.04 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/1.838, allocations: 1.425 MB / 1.695 GB, free: 9.551 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005295/1.843, allocations: 2.735 MB / 1.697 GB, free: 6.727 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/1.843, allocations: 0 / 1.697 GB, free: 6.727 MB / 1.373 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00675/1.85, allocations: 3.115 MB / 1.7 GB, free: 3.57 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/1.85, allocations: 4 kB / 1.7 GB, free: 3.566 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.85, allocations: 12.5 kB / 1.7 GB, free: 3.555 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.884e-05/1.85, allocations: 12 kB / 1.7 GB, free: 3.543 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/1.853, allocations: 0.5461 MB / 1.701 GB, free: 2.996 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.012e-05/1.853, allocations: 15.94 kB / 1.701 GB, free: 2.98 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.856, allocations: 210.4 kB / 1.701 GB, free: 2.773 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/1.856, allocations: 87.98 kB / 1.701 GB, free: 2.688 MB / 1.373 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.001727/1.858, allocations: 0.6511 MB / 1.702 GB, free: 2.027 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009701/1.859, allocations: 246.5 kB / 1.702 GB, free: 1.785 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/1.865, allocations: 3.116 MB / 1.705 GB, free: 14.61 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/1.865, allocations: 28 kB / 1.705 GB, free: 14.59 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.865, allocations: 0 / 1.705 GB, free: 14.59 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004694/1.87, allocations: 2.653 MB / 1.708 GB, free: 11.86 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.883, allocations: 6.193 MB / 1.714 GB, free: 5.57 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.883, allocations: 0 / 1.714 GB, free: 5.57 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/1.886, allocations: 0.5423 MB / 1.714 GB, free: 5.027 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/1.886, allocations: 12 kB / 1.714 GB, free: 5.016 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/1.886, allocations: 59.98 kB / 1.714 GB, free: 4.957 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-05/1.886, allocations: 8 kB / 1.714 GB, free: 4.949 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.886, allocations: 3.984 kB / 1.714 GB, free: 4.945 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008227/1.895, allocations: 4.598 MB / 1.719 GB, free: 272 kB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.896, allocations: 0.5406 MB / 1.719 GB, free: 15.72 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/1.897, allocations: 52 kB / 1.719 GB, free: 15.67 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.899, allocations: 70.2 kB / 1.719 GB, free: 15.61 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.9, allocations: 169.8 kB / 1.72 GB, free: 15.44 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/1.9, allocations: 83.97 kB / 1.72 GB, free: 15.36 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.002017/1.902, allocations: 0.9423 MB / 1.721 GB, free: 14.42 MB / 1.404 GB Notification: Performance of sort global known variables: time 1.01e-07/1.902, allocations: 4 kB / 1.721 GB, free: 14.41 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.003432/1.905, allocations: 1.01 MB / 1.722 GB, free: 13.4 MB / 1.404 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.0009885/1.906, allocations: 368.8 kB / 1.722 GB, free: 13.04 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.005749/1.912, allocations: 2.685 MB / 1.725 GB, free: 10.32 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.912, allocations: 4 kB / 1.725 GB, free: 10.32 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.002757/1.915, allocations: 1.391 MB / 1.726 GB, free: 8.922 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00802/1.923, allocations: 1.35 MB / 1.727 GB, free: 7.602 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.937, allocations: 6.105 MB / 1.733 GB, free: 1.441 MB / 1.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/1.94, allocations: 1.899 MB / 1.735 GB, free: 15.51 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.004549/1.945, allocations: 0.8712 MB / 1.736 GB, free: 14.63 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.946, allocations: 207.4 kB / 1.736 GB, free: 14.43 MB / 1.42 GB Notification: Performance of SimCode: time 1.433e-06/1.946, allocations: 3.938 kB / 1.736 GB, free: 14.43 MB / 1.42 GB Notification: Performance of Templates: time 0.09977/2.046, allocations: 52.4 MB / 1.787 GB, free: 10.61 MB / 1.467 GB " [Timeout remaining time 298] 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.164878057315946]