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.628/2.628, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001529/0.00153, allocations: 176 kB / 0.4902 GB, free: 2.215 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.801/1.801, allocations: 223.2 MB / 0.7992 GB, free: 14.62 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.001091/0.001091, allocations: 103.9 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 15.06 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3748, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/4.99, allocations: 1.935 GB / 3.165 GB, free: 45.27 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/4.991, allocations: 95.95 kB / 3.165 GB, free: 45.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.805/11.8, allocations: 1.76 GB / 4.924 GB, free: 63.59 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.547e-06/11.8, allocations: 4 kB / 4.924 GB, free: 63.58 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004087/11.8, allocations: 71.92 kB / 4.924 GB, free: 63.51 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01805/11.81, allocations: 3.956 MB / 4.928 GB, free: 59.49 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/11.81, allocations: 12.56 kB / 4.928 GB, free: 59.48 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/11.82, allocations: 0.8938 MB / 4.929 GB, free: 58.58 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00794/11.83, allocations: 1.926 MB / 4.931 GB, free: 56.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/11.83, allocations: 201.1 kB / 4.931 GB, free: 56.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/11.83, allocations: 264 kB / 4.932 GB, free: 56.14 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/11.85, allocations: 3.268 MB / 4.935 GB, free: 52.75 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/11.85, allocations: 15.84 kB / 4.935 GB, free: 52.74 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/11.85, allocations: 104 kB / 4.935 GB, free: 52.64 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/11.85, allocations: 117.1 kB / 4.935 GB, free: 52.52 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009021/11.86, allocations: 3.404 MB / 4.938 GB, free: 49.1 MB / 1.198 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.02225/11.88, allocations: 12.35 MB / 4.95 GB, free: 35.85 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005195/11.88, allocations: 3.374 MB / 4.954 GB, free: 32.39 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/11.89, allocations: 1.497 MB / 4.955 GB, free: 30.57 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/11.89, allocations: 64.75 kB / 4.955 GB, free: 30.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 4.708e-06/11.89, allocations: 0 / 4.955 GB, free: 30.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.007393/11.89, allocations: 3.858 MB / 4.959 GB, free: 26.59 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/11.89, allocations: 85.59 kB / 4.959 GB, free: 26.49 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/11.9, allocations: 1.192 MB / 4.96 GB, free: 25.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/11.9, allocations: 77.7 kB / 4.96 GB, free: 25.21 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/11.9, allocations: 0.9843 MB / 4.961 GB, free: 24.22 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/11.9, allocations: 0.9432 MB / 4.962 GB, free: 23.26 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/11.9, allocations: 44 kB / 4.962 GB, free: 23.22 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001544/11.9, allocations: 406.8 kB / 4.963 GB, free: 22.82 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/11.9, allocations: 1.078 MB / 4.964 GB, free: 21.73 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/11.9, allocations: 1.389 MB / 4.965 GB, free: 20.25 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/11.9, allocations: 1.274 MB / 4.966 GB, free: 18.96 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/11.9, allocations: 0 / 4.966 GB, free: 18.96 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005102/11.91, allocations: 2.954 MB / 4.969 GB, free: 15.96 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/11.91, allocations: 4.938 kB / 4.969 GB, free: 15.96 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/11.91, allocations: 11.98 kB / 4.969 GB, free: 15.95 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/11.91, allocations: 12.56 kB / 4.969 GB, free: 15.93 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/11.91, allocations: 0.511 MB / 4.97 GB, free: 15.42 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/11.91, allocations: 19.94 kB / 4.97 GB, free: 15.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/11.91, allocations: 385.6 kB / 4.97 GB, free: 15.02 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/11.91, allocations: 91.97 kB / 4.97 GB, free: 14.93 MB / 1.198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001897/11.92, allocations: 0.6495 MB / 4.971 GB, free: 14.27 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008259/11.92, allocations: 233.3 kB / 4.971 GB, free: 14.04 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/11.92, allocations: 3.097 MB / 4.974 GB, free: 10.89 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/11.92, allocations: 28 kB / 4.974 GB, free: 10.86 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/11.92, allocations: 0 / 4.974 GB, free: 10.86 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003341/11.93, allocations: 2.65 MB / 4.977 GB, free: 8.145 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/11.94, allocations: 6.163 MB / 4.983 GB, free: 1.871 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/11.94, allocations: 0 / 4.983 GB, free: 1.871 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/11.94, allocations: 0.5462 MB / 4.983 GB, free: 1.324 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/11.94, allocations: 12 kB / 4.983 GB, free: 1.312 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/11.94, allocations: 63.92 kB / 4.983 GB, free: 1.25 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/11.94, allocations: 12 kB / 4.983 GB, free: 1.238 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/11.94, allocations: 3.938 kB / 4.983 GB, free: 1.234 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/11.95, allocations: 4.531 MB / 4.988 GB, free: 12.62 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/11.95, allocations: 0.6109 MB / 4.988 GB, free: 11.99 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005064/11.95, allocations: 52 kB / 4.988 GB, free: 11.94 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/11.95, allocations: 231.4 kB / 4.989 GB, free: 11.71 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/11.95, allocations: 150 kB / 4.989 GB, free: 11.56 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/11.95, allocations: 87.95 kB / 4.989 GB, free: 11.48 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001626/11.95, allocations: 0.9422 MB / 4.99 GB, free: 10.54 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.4e-07/11.95, allocations: 0 / 4.99 GB, free: 10.54 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004896/11.96, allocations: 1.365 MB / 4.991 GB, free: 9.172 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 () * 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 (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.009569/11.97, allocations: 4.293 MB / 4.995 GB, free: 4.477 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.006365/11.98, allocations: 2.739 MB / 4.998 GB, free: 1.707 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/11.98, allocations: 4 kB / 4.998 GB, free: 1.703 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/11.98, allocations: 1.466 MB / 4.999 GB, free: 240 kB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006842/11.98, allocations: 1.245 MB / 5.001 GB, free: 15 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/12, allocations: 7.285 MB / 5.008 GB, free: 7.664 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/12, allocations: 1.946 MB / 5.01 GB, free: 5.684 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.004145/12, allocations: 0.8514 MB / 5.01 GB, free: 4.828 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/12, allocations: 215.4 kB / 5.011 GB, free: 4.617 MB / 1.229 GB Notification: Performance of SimCode: time 1.382e-06/12, allocations: 0 / 5.011 GB, free: 4.617 MB / 1.229 GB Notification: Performance of Templates: time 0.9907/12.99, allocations: 87.99 MB / 5.097 GB, free: 170.7 MB / 1.229 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