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.001232/0.001232, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.000866/0.000866, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 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 0.8688/0.8688, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.771/1.771, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.503e-05, allocations: 2.312 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1235/0.1235, allocations: 160.4 MB / 0.9686 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.1358, allocations: 8.198 MB / 0.9766 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.1384, allocations: 115.1 kB / 0.9767 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.1398, allocations: 0.7408 MB / 0.9775 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.1446, allocations: 3.208 MB / 0.9806 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.1476, allocations: 1.933 MB / 0.9825 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0075/0.1551, allocations: 9.208 MB / 0.9915 GB, free: 9.051 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.158, allocations: 2.473 MB / 0.9939 GB, free: 6.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00528/0.1633, allocations: 4.649 MB / 0.9984 GB, free: 1.926 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.1659, allocations: 3.019 MB / 1.001 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004319/0.1663, allocations: 396 kB / 1.002 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1675, allocations: 0.8074 MB / 1.003 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0009753/0.1685, allocations: 1.784 MB / 1.004 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1698, allocations: 1.649 MB / 1.006 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.1727, allocations: 3.933 MB / 1.01 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1727, allocations: 0 / 1.01 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1727, allocations: 0 / 1.01 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.093e-05/0.1727, allocations: 0 / 1.01 GB, free: 6.316 MB / 0.9636 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.005204/0.1779, allocations: 4.565 MB / 1.014 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.178, allocations: 8.031 kB / 1.014 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.1808, allocations: 1.328 MB / 1.015 GB, free: 356 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.1827, allocations: 1.914 MB / 1.017 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.1828, allocations: 242.5 kB / 1.018 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.1831, allocations: 339.9 kB / 1.018 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.1857, allocations: 2.968 MB / 1.021 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/0.1858, allocations: 7.891 kB / 1.021 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.186, allocations: 140 kB / 1.021 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.1861, allocations: 206.7 kB / 1.021 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.1884, allocations: 1.918 MB / 1.023 GB, free: 8.359 MB / 0.9792 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.008421/0.1968, allocations: 9.277 MB / 1.032 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.1992, allocations: 2.939 MB / 1.035 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.2002, allocations: 1.048 MB / 1.036 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.2008, allocations: 333.2 kB / 1.036 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.2009, allocations: 88.59 kB / 1.036 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 4.949e-06/0.2009, allocations: 0 / 1.036 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.003009/0.2039, allocations: 2.616 MB / 1.039 GB, free: 7.871 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.2039, allocations: 94.48 kB / 1.039 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.205, allocations: 1.486 MB / 1.04 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.2051, allocations: 101.6 kB / 1.041 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/0.2057, allocations: 1.377 MB / 1.042 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006944/0.2064, allocations: 1.414 MB / 1.043 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006479/0.2071, allocations: 0.6812 MB / 1.044 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.2072, allocations: 480.8 kB / 1.044 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/0.2078, allocations: 0.5228 MB / 1.045 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2088, allocations: 1.271 MB / 1.046 GB, free: 140 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3355/0.5443, allocations: 2.023 MB / 1.048 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.5443, allocations: 5.312 kB / 1.048 GB, free: 130.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.002789/0.5471, allocations: 2.495 MB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5472, allocations: 11.34 kB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5472, allocations: 9.562 kB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.5472, allocations: 34.73 kB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.5488, allocations: 0.7941 MB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/0.5489, allocations: 29.69 kB / 1.051 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5501, allocations: 309.3 kB / 1.052 GB, free: 130 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.5503, allocations: 106 kB / 1.052 GB, free: 130 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (496): * Single equations (assignments): 496 * 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.0006212/0.5509, allocations: 365.1 kB / 1.052 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/0.5513, allocations: 424.6 kB / 1.053 GB, free: 129.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.5536, allocations: 2.412 MB / 1.055 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.5536, allocations: 37.69 kB / 1.055 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5536, allocations: 4.281 kB / 1.055 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.5551, allocations: 1.79 MB / 1.057 GB, free: 129.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/0.5598, allocations: 4.652 MB / 1.061 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5598, allocations: 4.516 kB / 1.061 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.5614, allocations: 0.7132 MB / 1.062 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.5614, allocations: 13.16 kB / 1.062 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5615, allocations: 89.92 kB / 1.062 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.5615, allocations: 14.47 kB / 1.062 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5615, allocations: 6.906 kB / 1.062 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.5644, allocations: 3.184 MB / 1.065 GB, free: 128 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.5652, allocations: 0.6371 MB / 1.066 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5654, allocations: 70.66 kB / 1.066 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.5662, allocations: 78.66 kB / 1.066 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.5664, allocations: 256.1 kB / 1.066 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.5665, allocations: 88.05 kB / 1.066 GB, free: 127.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004644/0.567, allocations: 0.7972 MB / 1.067 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.567, allocations: 0.8438 kB / 1.067 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001878/0.5689, allocations: 1.275 MB / 1.068 GB, free: 127.6 MB / 0.9948 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.0004175/0.5693, allocations: 298.2 kB / 1.069 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.5715, allocations: 1.979 MB / 1.071 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5715, allocations: 2.188 kB / 1.071 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.5725, allocations: 1.119 MB / 1.072 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.5756, allocations: 1.504 MB / 1.073 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.582, allocations: 6.206 MB / 1.079 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.5826, allocations: 0.7639 MB / 1.08 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001709/0.5843, allocations: 0.5611 MB / 1.08 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/0.5866, allocations: 1.218 MB / 1.082 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.232e-06/0.5866, allocations: 0 / 1.082 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.06256/0.6492, allocations: 63.62 MB / 1.144 GB, free: 108.1 MB / 0.9948 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.707342078909278]