Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009023/0.0009023, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.00111/0.00111, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 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.914/0.914, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.298/2.298, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.724e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1329/0.1329, allocations: 158.1 MB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1448, allocations: 7.582 MB / 1.052 GB, free: 3.477 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.1478, allocations: 107.2 kB / 1.052 GB, free: 3.371 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.1495, allocations: 0.6555 MB / 1.052 GB, free: 2.711 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.4923/0.6418, allocations: 2.974 MB / 1.055 GB, free: 50.55 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004799/0.6466, allocations: 1.674 MB / 1.057 GB, free: 50.55 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.6595, allocations: 7.849 MB / 1.064 GB, free: 50.05 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.6648, allocations: 2.049 MB / 1.066 GB, free: 49.84 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.6752, allocations: 4.048 MB / 1.07 GB, free: 49.53 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005016/0.6802, allocations: 2.53 MB / 1.073 GB, free: 49.29 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.6814, allocations: 326.4 kB / 1.073 GB, free: 49.29 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.6844, allocations: 0.7182 MB / 1.074 GB, free: 49.27 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.6858, allocations: 1.442 MB / 1.075 GB, free: 49.11 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.6887, allocations: 1.36 MB / 1.077 GB, free: 48.97 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.6933, allocations: 3.217 MB / 1.08 GB, free: 48.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6933, allocations: 0 / 1.08 GB, free: 48.56 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6933, allocations: 0 / 1.08 GB, free: 48.56 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001684/0.6935, allocations: 0 / 1.08 GB, free: 48.56 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.006205/0.6997, allocations: 3.778 MB / 1.084 GB, free: 47.01 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.6997, allocations: 13 kB / 1.084 GB, free: 47.01 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.7058, allocations: 1.964 MB / 1.085 GB, free: 46.65 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.7089, allocations: 1.715 MB / 1.087 GB, free: 46.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.7091, allocations: 202.7 kB / 1.087 GB, free: 46.17 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/0.7096, allocations: 267.4 kB / 1.088 GB, free: 46.17 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.7133, allocations: 2.732 MB / 1.09 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.7134, allocations: 10.39 kB / 1.09 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.7136, allocations: 111.4 kB / 1.09 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.7138, allocations: 148.3 kB / 1.09 GB, free: 45.28 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.7164, allocations: 1.575 MB / 1.092 GB, free: 45.2 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.01088/0.7273, allocations: 8.361 MB / 1.1 GB, free: 42.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.7304, allocations: 2.177 MB / 1.102 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.732, allocations: 0.9677 MB / 1.103 GB, free: 42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.7321, allocations: 74.48 kB / 1.103 GB, free: 41.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.7322, allocations: 69.2 kB / 1.103 GB, free: 41.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 6.602e-06/0.7322, allocations: 0 / 1.103 GB, free: 41.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.004203/0.7364, allocations: 2.127 MB / 1.105 GB, free: 41.67 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.7365, allocations: 81.09 kB / 1.106 GB, free: 41.61 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.7382, allocations: 1.281 MB / 1.107 GB, free: 41.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.7384, allocations: 75.55 kB / 1.107 GB, free: 41.31 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/0.7391, allocations: 1.186 MB / 1.108 GB, free: 40.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008479/0.7399, allocations: 1.016 MB / 1.109 GB, free: 40.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/0.7407, allocations: 0.4894 MB / 1.109 GB, free: 40.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.7407, allocations: 478.4 kB / 1.11 GB, free: 39.58 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/0.7417, allocations: 492.5 kB / 1.11 GB, free: 39.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7429, allocations: 1.06 MB / 1.111 GB, free: 39.03 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.7452, allocations: 1.707 MB / 1.113 GB, free: 38.44 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.7452, allocations: 1.969 kB / 1.113 GB, free: 38.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.004491/0.7497, allocations: 2.061 MB / 1.115 GB, free: 38.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.7497, allocations: 10.19 kB / 1.115 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.7498, allocations: 12.44 kB / 1.115 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.447e-05/0.7498, allocations: 23.38 kB / 1.115 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.752, allocations: 0.6614 MB / 1.116 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.923e-05/0.7521, allocations: 27.48 kB / 1.116 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.7542, allocations: 297.5 kB / 1.116 GB, free: 38.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.7544, allocations: 84.61 kB / 1.116 GB, free: 38.06 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (356): * Single equations (assignments): 356 * 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.0009422/0.7554, allocations: 311.7 kB / 1.117 GB, free: 37.89 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006492/0.756, allocations: 331.1 kB / 1.117 GB, free: 37.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.7565, allocations: 328.3 kB / 1.117 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.7565, allocations: 27.38 kB / 1.117 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/0.7566, allocations: 3.094 kB / 1.117 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002286/0.7588, allocations: 1.423 MB / 1.119 GB, free: 37.49 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.7657, allocations: 3.727 MB / 1.122 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7657, allocations: 1.469 kB / 1.122 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.7678, allocations: 0.6144 MB / 1.123 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-05/0.7678, allocations: 10.69 kB / 1.123 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/0.768, allocations: 63.77 kB / 1.123 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.768, allocations: 9.453 kB / 1.123 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.768, allocations: 1.125 kB / 1.123 GB, free: 36.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.7727, allocations: 2.528 MB / 1.125 GB, free: 36.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.7738, allocations: 0.5221 MB / 1.126 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.7741, allocations: 48.39 kB / 1.126 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.7754, allocations: 135.9 kB / 1.126 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.7757, allocations: 169.8 kB / 1.126 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.7758, allocations: 76.09 kB / 1.126 GB, free: 36.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007365/0.7765, allocations: 0.7073 MB / 1.127 GB, free: 36.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7765, allocations: 0 / 1.127 GB, free: 36.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002016/0.7786, allocations: 1.043 MB / 1.128 GB, free: 36.07 MB / 1.01 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.0004302/0.779, allocations: 187 kB / 1.128 GB, free: 35.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.7821, allocations: 1.62 MB / 1.13 GB, free: 35.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7821, allocations: 0 / 1.13 GB, free: 35.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.7832, allocations: 0.8896 MB / 1.131 GB, free: 35.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.7867, allocations: 1.351 MB / 1.132 GB, free: 35.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008281/0.795, allocations: 5.157 MB / 1.137 GB, free: 33.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.7956, allocations: 0.6049 MB / 1.138 GB, free: 33.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002347/0.7979, allocations: 0.4961 MB / 1.138 GB, free: 33.19 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/0.8004, allocations: 1.055 MB / 1.139 GB, free: 33.12 MB / 1.01 GB Notification: Performance of SimCode: time 1.563e-06/0.8004, allocations: 0 / 1.139 GB, free: 33.12 MB / 1.01 GB Notification: Performance of Templates: time 0.05936/0.8598, allocations: 59.85 MB / 1.198 GB, free: 5.309 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.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.370875732041895]