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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 192.7 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.849/1.849, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 103.4 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.688e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3588, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.837/6.196, allocations: 1.938 GB / 3.15 GB, free: 332.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/6.196, allocations: 88.56 kB / 3.15 GB, free: 332.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.237/13.43, allocations: 1.954 GB / 5.104 GB, free: 129.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.533e-06/13.43, allocations: 0 / 5.104 GB, free: 129.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004556/13.43, allocations: 90.38 kB / 5.104 GB, free: 129.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01916/13.45, allocations: 4.284 MB / 5.108 GB, free: 127.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/13.45, allocations: 14.31 kB / 5.108 GB, free: 127.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/13.46, allocations: 0.9914 MB / 5.109 GB, free: 127.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00818/13.47, allocations: 2.231 MB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/13.47, allocations: 103 kB / 5.111 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/13.47, allocations: 200.5 kB / 5.112 GB, free: 126.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01154/13.49, allocations: 4.147 MB / 5.116 GB, free: 126.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/13.5, allocations: 3.613 MB / 5.119 GB, free: 124.6 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002131/13.5, allocations: 12.94 kB / 5.119 GB, free: 124.6 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/13.5, allocations: 3.594 kB / 5.119 GB, free: 124.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/13.5, allocations: 147.7 kB / 5.119 GB, free: 124.6 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.02728/13.53, allocations: 14.35 MB / 5.133 GB, free: 112.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007977/13.53, allocations: 5.11 MB / 5.138 GB, free: 108.2 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/13.54, allocations: 2.292 MB / 5.14 GB, free: 105.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/13.54, allocations: 1.614 MB / 5.142 GB, free: 104 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.499e-05/13.54, allocations: 77.64 kB / 5.142 GB, free: 103.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 7.093e-06/13.54, allocations: 3.625 kB / 5.142 GB, free: 103.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.01368/13.55, allocations: 4.018 MB / 5.146 GB, free: 99.88 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/13.55, allocations: 90.48 kB / 5.146 GB, free: 99.77 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/13.56, allocations: 1.207 MB / 5.147 GB, free: 98.57 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/13.56, allocations: 33.45 kB / 5.147 GB, free: 98.54 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/13.56, allocations: 1.135 MB / 5.148 GB, free: 97.39 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002846/13.57, allocations: 1.266 MB / 5.15 GB, free: 96.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/13.57, allocations: 0 / 5.15 GB, free: 96.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0007005/13.57, allocations: 441.1 kB / 5.15 GB, free: 95.66 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/13.57, allocations: 1.487 MB / 5.152 GB, free: 94.18 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/13.57, allocations: 1.854 MB / 5.153 GB, free: 92.23 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005189/13.58, allocations: 2.053 MB / 5.155 GB, free: 90.18 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/13.58, allocations: 3.438 kB / 5.155 GB, free: 90.18 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009056/13.59, allocations: 4.186 MB / 5.159 GB, free: 85.97 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/13.59, allocations: 9.406 kB / 5.16 GB, free: 85.96 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/13.59, allocations: 5.906 kB / 5.16 GB, free: 85.96 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.201e-05/13.59, allocations: 20 kB / 5.16 GB, free: 85.94 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/13.59, allocations: 0.7206 MB / 5.16 GB, free: 85.22 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/13.59, allocations: 27.92 kB / 5.16 GB, free: 85.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/13.59, allocations: 401.7 kB / 5.161 GB, free: 84.82 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/13.6, allocations: 124 kB / 5.161 GB, free: 84.7 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005032/13.6, allocations: 152.3 kB / 5.161 GB, free: 84.55 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/13.6, allocations: 276.7 kB / 5.161 GB, free: 84.27 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007681/13.6, allocations: 4.404 MB / 5.165 GB, free: 79.85 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/13.6, allocations: 36 kB / 5.166 GB, free: 79.81 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/13.6, allocations: 7.609 kB / 5.166 GB, free: 79.81 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005732/13.61, allocations: 3.847 MB / 5.169 GB, free: 75.89 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01466/13.62, allocations: 8.725 MB / 5.178 GB, free: 67.06 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/13.62, allocations: 4 kB / 5.178 GB, free: 67.05 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/13.63, allocations: 0.746 MB / 5.179 GB, free: 66.31 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.723e-05/13.63, allocations: 16 kB / 5.179 GB, free: 66.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/13.63, allocations: 39.95 kB / 5.179 GB, free: 66.26 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/13.63, allocations: 19.94 kB / 5.179 GB, free: 66.24 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/13.63, allocations: 4 kB / 5.179 GB, free: 66.23 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009085/13.64, allocations: 6.621 MB / 5.185 GB, free: 59.48 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/13.64, allocations: 0.8014 MB / 5.186 GB, free: 58.65 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/13.64, allocations: 6.906 kB / 5.186 GB, free: 58.65 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/13.64, allocations: 218.3 kB / 5.186 GB, free: 58.45 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/13.64, allocations: 226.6 kB / 5.186 GB, free: 58.23 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/13.64, allocations: 120 kB / 5.186 GB, free: 58.11 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001267/13.64, allocations: 0.9218 MB / 5.187 GB, free: 57.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.6e-07/13.64, allocations: 0 / 5.187 GB, free: 57.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004127/13.65, allocations: 1.431 MB / 5.189 GB, free: 55.77 MB / 1.198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008074/13.66, allocations: 5.524 MB / 5.194 GB, free: 50.52 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005944/13.66, allocations: 3.741 MB / 5.198 GB, free: 46.77 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/13.66, allocations: 4 kB / 5.198 GB, free: 46.77 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/13.67, allocations: 2.023 MB / 5.2 GB, free: 44.75 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007106/13.67, allocations: 1.291 MB / 5.201 GB, free: 43.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/13.68, allocations: 6.502 MB / 5.207 GB, free: 37 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/13.68, allocations: 2.271 MB / 5.21 GB, free: 34.7 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004641/13.69, allocations: 1.199 MB / 5.211 GB, free: 33.53 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/13.69, allocations: 287.3 kB / 5.211 GB, free: 33.25 MB / 1.198 GB Notification: Performance of SimCode: time 1.092e-06/13.69, allocations: 0 / 5.211 GB, free: 33.25 MB / 1.198 GB Notification: Performance of Templates: time 1.013/14.7, allocations: 75.7 MB / 5.285 GB, free: 170.3 MB / 1.229 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches