Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009661/0.0009661, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001565/0.001565, allocations: 169 kB / 24.06 MB, free: 452 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.8979/0.8979, allocations: 177.1 MB / 204.5 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.033/2.033, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.383e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1317/0.1317, allocations: 160.4 MB / 1.036 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1432, allocations: 8.34 MB / 1.044 GB, free: 12.71 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.1446, allocations: 115.1 kB / 1.044 GB, free: 12.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1457, allocations: 0.7446 MB / 1.045 GB, free: 11.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.1498, allocations: 3.278 MB / 1.048 GB, free: 8.547 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.1523, allocations: 1.926 MB / 1.05 GB, free: 6.617 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3938/0.546, allocations: 9.244 MB / 1.059 GB, free: 51.65 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.549, allocations: 2.434 MB / 1.062 GB, free: 51.49 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.5541, allocations: 4.678 MB / 1.066 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.5571, allocations: 3.031 MB / 1.069 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.5576, allocations: 401.8 kB / 1.069 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.559, allocations: 0.8395 MB / 1.07 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0009404/0.5599, allocations: 1.789 MB / 1.072 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.5613, allocations: 1.665 MB / 1.074 GB, free: 51.47 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.564, allocations: 3.983 MB / 1.078 GB, free: 51.19 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.564, allocations: 0 / 1.078 GB, free: 51.19 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.71e-07/0.564, allocations: 0.5312 kB / 1.078 GB, free: 51.19 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.065e-05/0.564, allocations: 1.188 kB / 1.078 GB, free: 51.19 MB / 1.01 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.005138/0.5692, allocations: 4.594 MB / 1.082 GB, free: 49.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.5692, allocations: 10.5 kB / 1.082 GB, free: 49.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007398/0.5766, allocations: 2.553 MB / 1.085 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.5789, allocations: 1.976 MB / 1.086 GB, free: 48.42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.579, allocations: 255.8 kB / 1.087 GB, free: 48.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.5795, allocations: 334.1 kB / 1.087 GB, free: 48.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.5833, allocations: 3.492 MB / 1.09 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.5834, allocations: 2.844 kB / 1.09 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/0.5837, allocations: 133 kB / 1.091 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.5839, allocations: 207 kB / 1.091 GB, free: 47.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.5871, allocations: 2.282 MB / 1.093 GB, free: 47.43 MB / 1.01 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.01051/0.5976, allocations: 10.11 MB / 1.103 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.601, allocations: 3.251 MB / 1.106 GB, free: 44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.6026, allocations: 1.191 MB / 1.107 GB, free: 43.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.6028, allocations: 104.4 kB / 1.107 GB, free: 43.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6029, allocations: 77.5 kB / 1.107 GB, free: 43.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 5.541e-06/0.6029, allocations: 1.031 kB / 1.107 GB, free: 43.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.004834/0.6077, allocations: 3.006 MB / 1.11 GB, free: 43.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.6077, allocations: 94.3 kB / 1.11 GB, free: 43.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.609, allocations: 1.496 MB / 1.112 GB, free: 43.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.6092, allocations: 94.58 kB / 1.112 GB, free: 43.18 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006451/0.6099, allocations: 1.384 MB / 1.113 GB, free: 42.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/0.6106, allocations: 1.423 MB / 1.115 GB, free: 41.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.6116, allocations: 0.6833 MB / 1.115 GB, free: 41.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.6117, allocations: 480.9 kB / 1.116 GB, free: 41.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.6129, allocations: 0.7249 MB / 1.117 GB, free: 41.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.6144, allocations: 1.47 MB / 1.118 GB, free: 40.42 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002869/0.6173, allocations: 2.392 MB / 1.12 GB, free: 39.79 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.6173, allocations: 3.062 kB / 1.12 GB, free: 39.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.004122/0.6214, allocations: 2.888 MB / 1.123 GB, free: 39.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6214, allocations: 13.56 kB / 1.123 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6214, allocations: 12.67 kB / 1.123 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.6215, allocations: 26.12 kB / 1.123 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6242, allocations: 0.9229 MB / 1.124 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/0.6242, allocations: 32.23 kB / 1.124 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.6263, allocations: 425.5 kB / 1.124 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.6265, allocations: 114.2 kB / 1.125 GB, free: 39.34 MB / 1.01 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.0007823/0.6273, allocations: 367.8 kB / 1.125 GB, free: 39.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.6279, allocations: 428.3 kB / 1.125 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.6284, allocations: 451 kB / 1.126 GB, free: 38.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6284, allocations: 41.73 kB / 1.126 GB, free: 38.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/0.6284, allocations: 0.9062 kB / 1.126 GB, free: 38.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002582/0.631, allocations: 2.053 MB / 1.128 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/0.6376, allocations: 5.175 MB / 1.133 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6376, allocations: 0.9688 kB / 1.133 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.6401, allocations: 0.8434 MB / 1.134 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.6402, allocations: 14.19 kB / 1.134 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.6404, allocations: 95.83 kB / 1.134 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6404, allocations: 15.23 kB / 1.134 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6404, allocations: 2.75 kB / 1.134 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.6448, allocations: 3.614 MB / 1.137 GB, free: 37.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.6459, allocations: 0.7122 MB / 1.138 GB, free: 37.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/0.6462, allocations: 73.47 kB / 1.138 GB, free: 37.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.6479, allocations: 200.2 kB / 1.138 GB, free: 37.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.6483, allocations: 241.2 kB / 1.139 GB, free: 37.03 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.6485, allocations: 99.52 kB / 1.139 GB, free: 37.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000555/0.649, allocations: 0.808 MB / 1.139 GB, free: 36.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.649, allocations: 0 / 1.139 GB, free: 36.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001883/0.6509, allocations: 1.343 MB / 1.141 GB, free: 36.72 MB / 1.01 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.000419/0.6513, allocations: 237.5 kB / 1.141 GB, free: 36.63 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.654, allocations: 2.346 MB / 1.143 GB, free: 36.53 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.654, allocations: 0 / 1.143 GB, free: 36.53 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.6553, allocations: 1.284 MB / 1.145 GB, free: 36.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.6586, allocations: 1.557 MB / 1.146 GB, free: 36.28 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.6651, allocations: 6.608 MB / 1.152 GB, free: 33.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.6656, allocations: 0.7653 MB / 1.153 GB, free: 33.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002284/0.6679, allocations: 0.6755 MB / 1.154 GB, free: 33.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002749/0.6706, allocations: 1.25 MB / 1.155 GB, free: 33.05 MB / 1.01 GB Notification: Performance of SimCode: time 8.91e-07/0.6706, allocations: 0 / 1.155 GB, free: 33.05 MB / 1.01 GB Notification: Performance of Templates: time 0.0714/0.742, allocations: 77.66 MB / 1.231 GB, free: 11.86 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.654788488987833]