Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.002264/0.002264, allocations: 110.1 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.002747/0.002747, allocations: 216.2 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.562/1.562, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.238/3.238, allocations: 0.4899 GB / 0.7915 GB, free: 33.18 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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [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.00251/0.00251, allocations: 73.53 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5061, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.563/2.069, allocations: 318.8 MB / 1.633 GB, free: 4.062 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03755/2.106, allocations: 18.5 MB / 1.651 GB, free: 3.977 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007525/2.114, allocations: 118 kB / 1.651 GB, free: 3.977 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.008171/2.122, allocations: 2.262 MB / 1.653 GB, free: 3.934 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02462/2.147, allocations: 7.531 MB / 1.66 GB, free: 3.652 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01151/2.158, allocations: 3.264 MB / 1.663 GB, free: 3.57 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01882/2.177, allocations: 9.108 MB / 1.672 GB, free: 3.543 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007667/2.185, allocations: 2.622 MB / 1.675 GB, free: 19.34 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/2.196, allocations: 3.752 MB / 1.679 GB, free: 19.34 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009249/2.205, allocations: 3.382 MB / 1.682 GB, free: 19.27 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002707/2.208, allocations: 402.5 kB / 1.682 GB, free: 19.27 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/2.23, allocations: 7.41 MB / 1.689 GB, free: 19.2 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.004321/2.234, allocations: 1.681 MB / 1.691 GB, free: 19.01 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.009106/2.243, allocations: 2.286 MB / 1.693 GB, free: 18.44 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02695/2.27, allocations: 8.198 MB / 1.701 GB, free: 17.5 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/2.27, allocations: 2.594 kB / 1.701 GB, free: 17.5 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.974e-06/2.27, allocations: 0 / 1.701 GB, free: 17.5 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003011/2.271, allocations: 0 / 1.701 GB, free: 17.5 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01823/2.289, allocations: 5.047 MB / 1.706 GB, free: 15.45 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/2.289, allocations: 14.08 kB / 1.706 GB, free: 15.45 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/2.297, allocations: 1.024 MB / 1.707 GB, free: 15.21 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/2.302, allocations: 2.197 MB / 1.709 GB, free: 14.62 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/2.302, allocations: 248.6 kB / 1.71 GB, free: 14.62 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/2.302, allocations: 327.4 kB / 1.71 GB, free: 14.61 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00761/2.31, allocations: 4.399 MB / 1.714 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/2.31, allocations: 10.91 kB / 1.714 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/2.31, allocations: 133.4 kB / 1.714 GB, free: 14.31 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/2.311, allocations: 210 kB / 1.715 GB, free: 14.3 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007998/2.319, allocations: 5.054 MB / 1.72 GB, free: 14.27 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.02577/2.344, allocations: 15.07 MB / 1.734 GB, free: 5.34 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/2.351, allocations: 4.267 MB / 1.738 GB, free: 3.016 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/2.354, allocations: 2.249 MB / 1.741 GB, free: 1.902 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/2.356, allocations: 1.603 MB / 1.742 GB, free: 140 kB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.649e-05/2.356, allocations: 83 kB / 1.742 GB, free: 64 kB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 5.68e-06/2.356, allocations: 0 / 1.742 GB, free: 64 kB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.009697/2.366, allocations: 5.549 MB / 1.748 GB, free: 13.38 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/2.366, allocations: 91.02 kB / 1.748 GB, free: 13.31 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/2.369, allocations: 1.717 MB / 1.749 GB, free: 12.36 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003071/2.369, allocations: 101.9 kB / 1.75 GB, free: 12.27 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/2.37, allocations: 1.244 MB / 1.751 GB, free: 11.18 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/2.372, allocations: 1.394 MB / 1.752 GB, free: 9.965 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/2.373, allocations: 0.6111 MB / 1.753 GB, free: 9.633 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001322/2.373, allocations: 302.9 kB / 1.753 GB, free: 9.336 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/2.375, allocations: 1.664 MB / 1.755 GB, free: 8.5 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/2.378, allocations: 2.033 MB / 1.757 GB, free: 7.352 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005841/2.384, allocations: 3.931 MB / 1.76 GB, free: 4.531 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/2.384, allocations: 4 kB / 1.76 GB, free: 4.527 MB / 1.326 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007819/2.392, allocations: 4.453 MB / 1.765 GB, free: 88 kB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/2.392, allocations: 4 kB / 1.765 GB, free: 84 kB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/2.392, allocations: 8 kB / 1.765 GB, free: 76 kB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/2.392, allocations: 20.66 kB / 1.765 GB, free: 56 kB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/2.395, allocations: 0.7572 MB / 1.766 GB, free: 15.34 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/2.395, allocations: 23.98 kB / 1.766 GB, free: 15.32 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/2.399, allocations: 305.6 kB / 1.766 GB, free: 15.02 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/2.399, allocations: 131.5 kB / 1.766 GB, free: 14.89 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.001819/2.401, allocations: 0.8095 MB / 1.767 GB, free: 14.12 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008026/2.401, allocations: 314 kB / 1.767 GB, free: 13.81 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007925/2.409, allocations: 4.426 MB / 1.771 GB, free: 9.352 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/2.409, allocations: 39.94 kB / 1.772 GB, free: 9.312 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/2.409, allocations: 0 / 1.772 GB, free: 9.312 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005932/2.415, allocations: 3.799 MB / 1.775 GB, free: 5.449 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/2.432, allocations: 8.64 MB / 1.784 GB, free: 12.76 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/2.432, allocations: 3.938 kB / 1.784 GB, free: 12.76 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/2.435, allocations: 0.7218 MB / 1.784 GB, free: 12.07 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.82e-05/2.435, allocations: 12 kB / 1.784 GB, free: 12.06 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/2.435, allocations: 87.97 kB / 1.784 GB, free: 11.98 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/2.435, allocations: 16 kB / 1.784 GB, free: 11.96 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.435, allocations: 6.625 kB / 1.784 GB, free: 11.96 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/2.446, allocations: 6.584 MB / 1.791 GB, free: 5.281 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/2.449, allocations: 0.8144 MB / 1.792 GB, free: 4.445 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/2.449, allocations: 79.98 kB / 1.792 GB, free: 4.367 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/2.451, allocations: 79.98 kB / 1.792 GB, free: 4.289 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005051/2.452, allocations: 237.3 kB / 1.792 GB, free: 4.059 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/2.452, allocations: 119.9 kB / 1.792 GB, free: 3.941 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001788/2.454, allocations: 1.153 MB / 1.793 GB, free: 2.766 MB / 1.357 GB Notification: Performance of sort global known variables: time 8e-08/2.454, allocations: 0 / 1.793 GB, free: 2.766 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.003289/2.457, allocations: 1.268 MB / 1.795 GB, free: 1.496 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.0009122/2.458, allocations: 454.6 kB / 1.795 GB, free: 1.09 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.006727/2.465, allocations: 3.867 MB / 1.799 GB, free: 13.27 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/2.465, allocations: 4 kB / 1.799 GB, free: 13.27 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/2.468, allocations: 1.98 MB / 1.801 GB, free: 11.37 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007834/2.476, allocations: 1.609 MB / 1.802 GB, free: 9.793 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/2.489, allocations: 7.783 MB / 1.81 GB, free: 1.961 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/2.492, allocations: 2.205 MB / 1.812 GB, free: 15.72 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.004722/2.496, allocations: 1.271 MB / 1.813 GB, free: 14.44 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/2.497, allocations: 275.4 kB / 1.814 GB, free: 14.17 MB / 1.389 GB Notification: Performance of SimCode: time 1.332e-06/2.497, allocations: 0 / 1.814 GB, free: 14.17 MB / 1.389 GB Notification: Performance of Templates: time 0.1337/2.631, allocations: 63.5 MB / 1.876 GB, free: 15.57 MB / 1.451 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.585900634061545]