Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001019/0.001019, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009997/0.0009997, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.879/1.879, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.892e-05/4.098e-05, allocations: 6.312 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1587/0.1587, allocations: 160.9 MB / 0.9442 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.1734, allocations: 7.449 MB / 0.9515 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.1771, allocations: 107.2 kB / 0.9516 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.1796, allocations: 0.6555 MB / 0.9522 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.1871, allocations: 2.886 MB / 0.955 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.1911, allocations: 1.684 MB / 0.9567 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.009608/0.2007, allocations: 7.807 MB / 0.9643 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.2051, allocations: 2.03 MB / 0.9663 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008252/0.2134, allocations: 3.472 MB / 0.9697 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/0.2184, allocations: 2.606 MB / 0.9722 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.2196, allocations: 332 kB / 0.9725 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.2227, allocations: 0.7993 MB / 0.9733 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.225, allocations: 1.469 MB / 0.9747 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004031/0.229, allocations: 1.376 MB / 0.9761 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.007605/0.2366, allocations: 3.22 MB / 0.9792 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2366, allocations: 0 / 0.9792 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2366, allocations: 0 / 0.9792 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001858/0.2368, allocations: 4 kB / 0.9792 GB, free: 5.957 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.007013/0.2438, allocations: 3.846 MB / 0.983 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2439, allocations: 11.97 kB / 0.983 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/0.2478, allocations: 1.25 MB / 0.9842 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/0.2515, allocations: 1.822 MB / 0.986 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2516, allocations: 193.1 kB / 0.9862 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/0.2521, allocations: 268 kB / 0.9864 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.2564, allocations: 2.581 MB / 0.989 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.2565, allocations: 11.94 kB / 0.989 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.2567, allocations: 112 kB / 0.9891 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.2568, allocations: 133 kB / 0.9892 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/0.2602, allocations: 1.614 MB / 0.9908 GB, free: 9.77 MB / 0.9011 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.01232/0.2726, allocations: 7.805 MB / 0.9984 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.2757, allocations: 2.154 MB / 1.001 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.2775, allocations: 1.005 MB / 1.001 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.2781, allocations: 242 kB / 1.002 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.2782, allocations: 67.58 kB / 1.002 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=278): time 4.479e-06/0.2782, allocations: 0 / 1.002 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=278): time 0.004095/0.2823, allocations: 2.216 MB / 1.004 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2824, allocations: 77.59 kB / 1.004 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.2837, allocations: 1.199 MB / 1.005 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.284, allocations: 73.7 kB / 1.005 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.2846, allocations: 1.072 MB / 1.006 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.2857, allocations: 0.9992 MB / 1.007 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.2862, allocations: 411.2 kB / 1.008 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2863, allocations: 480.8 kB / 1.008 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.2871, allocations: 464.6 kB / 1.009 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/0.2881, allocations: 0.7866 MB / 1.009 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.2903, allocations: 1.414 MB / 1.011 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.2903, allocations: 0 / 1.011 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00366/0.294, allocations: 1.827 MB / 1.013 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.294, allocations: 8 kB / 1.013 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.2941, allocations: 4 kB / 1.013 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.823e-05/0.2941, allocations: 16 kB / 1.013 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.2958, allocations: 0.5075 MB / 1.013 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.791e-05/0.2958, allocations: 23.94 kB / 1.013 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.2977, allocations: 174.6 kB / 1.013 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/0.2983, allocations: 84 kB / 1.013 GB, free: 2.156 MB / 0.9167 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 (311): * Single equations (assignments): 311 * 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.001049/0.2993, allocations: 292 kB / 1.014 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008966/0.3002, allocations: 322.5 kB / 1.014 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.3035, allocations: 1.913 MB / 1.016 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.3035, allocations: 32 kB / 1.016 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3035, allocations: 0 / 1.016 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002111/0.3056, allocations: 1.482 MB / 1.017 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/0.3136, allocations: 3.951 MB / 1.021 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3136, allocations: 4 kB / 1.021 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.3152, allocations: 0.5384 MB / 1.022 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.3152, allocations: 8 kB / 1.022 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.3154, allocations: 67.97 kB / 1.022 GB, free: 9.312 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.3154, allocations: 11.94 kB / 1.022 GB, free: 9.301 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3154, allocations: 11.94 kB / 1.022 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.3191, allocations: 2.575 MB / 1.024 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.3204, allocations: 0.5173 MB / 1.025 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.3207, allocations: 55.98 kB / 1.025 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3217, allocations: 59.98 kB / 1.025 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.322, allocations: 169.8 kB / 1.025 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.3221, allocations: 87.91 kB / 1.025 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008485/0.323, allocations: 0.7367 MB / 1.026 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/0.323, allocations: 0 / 1.026 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002106/0.3251, allocations: 0.9788 MB / 1.027 GB, free: 4.023 MB / 0.9323 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.0005904/0.3257, allocations: 242.4 kB / 1.027 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.3285, allocations: 1.508 MB / 1.028 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3285, allocations: 0 / 1.028 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.3298, allocations: 0.8991 MB / 1.029 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/0.3343, allocations: 1.294 MB / 1.031 GB, free: 52 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4505/0.7848, allocations: 4.937 MB / 1.035 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.7861, allocations: 0.6084 MB / 1.036 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002973/0.789, allocations: 0.7019 MB / 1.037 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.79, allocations: 203.2 kB / 1.037 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.194e-06/0.79, allocations: 0 / 1.037 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.058/0.848, allocations: 47.58 MB / 1.083 GB, free: 97.78 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.024322755169123]