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/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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001117/0.001118, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001157/0.001157, allocations: 99.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.949e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3807, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.254/6.635, allocations: 1.935 GB / 3.154 GB, free: 323.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/6.635, allocations: 85.95 kB / 3.154 GB, free: 323.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.844/13.48, allocations: 1.758 GB / 4.912 GB, free: 149.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.794e-06/13.48, allocations: 2.375 kB / 4.912 GB, free: 149.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.000415/13.48, allocations: 74.55 kB / 4.912 GB, free: 149.1 MB / 1.214 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.01874/13.5, allocations: 3.547 MB / 4.916 GB, free: 148.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/13.5, allocations: 11.59 kB / 4.916 GB, free: 148.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008076/13.51, allocations: 0.9008 MB / 4.917 GB, free: 148 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007167/13.51, allocations: 1.914 MB / 4.919 GB, free: 147.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/13.51, allocations: 194.8 kB / 4.919 GB, free: 147.7 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/13.52, allocations: 265 kB / 4.919 GB, free: 147.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/13.53, allocations: 3.212 MB / 4.922 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/13.53, allocations: 10.44 kB / 4.922 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/13.53, allocations: 111.8 kB / 4.922 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/13.53, allocations: 118.2 kB / 4.923 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/13.54, allocations: 3.324 MB / 4.926 GB, free: 147.3 MB / 1.214 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.02124/13.56, allocations: 12.35 MB / 4.938 GB, free: 141.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/13.56, allocations: 3.325 MB / 4.941 GB, free: 140.7 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/13.57, allocations: 1.761 MB / 4.943 GB, free: 140.7 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/13.57, allocations: 1.492 MB / 4.944 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/13.57, allocations: 66.5 kB / 4.944 GB, free: 139 MB / 1.214 GB Notification: Performance of pre-optimization done (n=278): time 5.54e-06/13.57, allocations: 3.625 kB / 4.944 GB, free: 139 MB / 1.214 GB Notification: Performance of matching and sorting (n=278): time 0.006022/13.58, allocations: 2.73 MB / 4.947 GB, free: 138.8 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/13.58, allocations: 78.59 kB / 4.947 GB, free: 138.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/13.58, allocations: 1.175 MB / 4.948 GB, free: 138.6 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/13.58, allocations: 80.23 kB / 4.948 GB, free: 138.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/13.58, allocations: 0.9811 MB / 4.949 GB, free: 138.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/13.58, allocations: 0.9475 MB / 4.95 GB, free: 137.7 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/13.58, allocations: 48.09 kB / 4.95 GB, free: 137.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001997/13.58, allocations: 403.7 kB / 4.951 GB, free: 137.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/13.58, allocations: 1.058 MB / 4.952 GB, free: 137.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/13.58, allocations: 1.357 MB / 4.953 GB, free: 137.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/13.59, allocations: 1.27 MB / 4.954 GB, free: 137.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/13.59, allocations: 0 / 4.954 GB, free: 137.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005656/13.59, allocations: 2.902 MB / 4.957 GB, free: 136.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/13.59, allocations: 10.72 kB / 4.957 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/13.59, allocations: 7.031 kB / 4.957 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.893e-05/13.59, allocations: 15.78 kB / 4.957 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/13.6, allocations: 0.5186 MB / 4.958 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-05/13.6, allocations: 14.09 kB / 4.958 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/13.6, allocations: 389.4 kB / 4.958 GB, free: 136.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/13.6, allocations: 83.58 kB / 4.958 GB, free: 136.8 MB / 1.214 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005494/13.6, allocations: 238.5 kB / 4.958 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/13.6, allocations: 230.4 kB / 4.958 GB, free: 136.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006137/13.61, allocations: 3.069 MB / 4.961 GB, free: 136.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/13.61, allocations: 24.56 kB / 4.961 GB, free: 136.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/13.61, allocations: 0 / 4.961 GB, free: 136.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004039/13.61, allocations: 2.6 MB / 4.964 GB, free: 136.1 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/13.62, allocations: 6.162 MB / 4.97 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/13.62, allocations: 0 / 4.97 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/13.63, allocations: 0.5476 MB / 4.971 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.942e-05/13.63, allocations: 6.844 kB / 4.971 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/13.63, allocations: 70.36 kB / 4.971 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/13.63, allocations: 8.469 kB / 4.971 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/13.63, allocations: 6.703 kB / 4.971 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0074/13.64, allocations: 4.471 MB / 4.975 GB, free: 135.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/13.64, allocations: 0.6123 MB / 4.976 GB, free: 135 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000857/13.64, allocations: 53.47 kB / 4.976 GB, free: 135 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/13.64, allocations: 223.8 kB / 4.976 GB, free: 135 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/13.64, allocations: 151 kB / 4.976 GB, free: 135 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/13.64, allocations: 86.69 kB / 4.976 GB, free: 135 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002217/13.64, allocations: 0.9187 MB / 4.977 GB, free: 134.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.01e-07/13.64, allocations: 2.875 kB / 4.977 GB, free: 134.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.005457/13.65, allocations: 1.364 MB / 4.978 GB, free: 134.7 MB / 1.214 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 () * 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 (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.007772/13.66, allocations: 4.304 MB / 4.983 GB, free: 132.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005431/13.66, allocations: 2.698 MB / 4.985 GB, free: 132.7 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/13.66, allocations: 0 / 4.985 GB, free: 132.7 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/13.67, allocations: 1.453 MB / 4.987 GB, free: 132.6 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007567/13.67, allocations: 1.256 MB / 4.988 GB, free: 132.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/13.69, allocations: 5.193 MB / 4.993 GB, free: 131.6 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/13.69, allocations: 1.949 MB / 4.995 GB, free: 130.8 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005051/13.69, allocations: 0.8514 MB / 4.996 GB, free: 130.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/13.69, allocations: 213.2 kB / 4.996 GB, free: 130.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.683e-06/13.69, allocations: 0 / 4.996 GB, free: 130.8 MB / 1.214 GB Notification: Performance of Templates: time 0.1423/13.84, allocations: 97.35 MB / 5.091 GB, free: 126.5 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches