Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001025/0.001025, allocations: 180.6 kB / 492.3 MB, free: 0.6289 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.738/1.738, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001027/0.001027, allocations: 91.95 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.291e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.692, allocations: 1.934 GB / 3.147 GB, free: 336.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/6.692, allocations: 91.31 kB / 3.147 GB, free: 336.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.108/12.8, allocations: 1.758 GB / 4.905 GB, free: 141.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.295e-06/12.8, allocations: 0 / 4.905 GB, free: 141.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.000201/12.8, allocations: 69.75 kB / 4.905 GB, free: 141.1 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.01447/12.81, allocations: 3.546 MB / 4.909 GB, free: 140.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/12.81, allocations: 10.75 kB / 4.909 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008172/12.82, allocations: 0.9067 MB / 4.91 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005613/12.83, allocations: 1.906 MB / 4.912 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/12.83, allocations: 201.6 kB / 4.912 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007541/12.83, allocations: 269.7 kB / 4.912 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/12.84, allocations: 3.21 MB / 4.915 GB, free: 139.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/12.84, allocations: 12.47 kB / 4.915 GB, free: 139.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/12.84, allocations: 110.3 kB / 4.915 GB, free: 139.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/12.84, allocations: 121.2 kB / 4.915 GB, free: 139.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/12.84, allocations: 3.313 MB / 4.919 GB, free: 139.2 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.02299/12.86, allocations: 12.35 MB / 4.931 GB, free: 133.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/12.87, allocations: 3.32 MB / 4.934 GB, free: 132.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/12.87, allocations: 1.761 MB / 4.936 GB, free: 132.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/12.87, allocations: 1.497 MB / 4.937 GB, free: 131 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/12.87, allocations: 65.03 kB / 4.937 GB, free: 131 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 5.991e-06/12.87, allocations: 0 / 4.937 GB, free: 131 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.004706/12.88, allocations: 2.727 MB / 4.94 GB, free: 130.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/12.88, allocations: 84.81 kB / 4.94 GB, free: 130.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/12.88, allocations: 1.178 MB / 4.941 GB, free: 130.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/12.88, allocations: 76.3 kB / 4.941 GB, free: 130.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/12.88, allocations: 0.9839 MB / 4.942 GB, free: 130.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/12.88, allocations: 0.9509 MB / 4.943 GB, free: 129.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/12.88, allocations: 47.78 kB / 4.943 GB, free: 129.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000127/12.88, allocations: 399.8 kB / 4.943 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/12.88, allocations: 1.055 MB / 4.944 GB, free: 129.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/12.88, allocations: 1.359 MB / 4.946 GB, free: 129.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/12.89, allocations: 1.269 MB / 4.947 GB, free: 129.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/12.89, allocations: 3.719 kB / 4.947 GB, free: 129.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004755/12.89, allocations: 2.9 MB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/12.89, allocations: 7.094 kB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/12.89, allocations: 11.33 kB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/12.89, allocations: 14.72 kB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/12.89, allocations: 0.517 MB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/12.89, allocations: 15 kB / 4.95 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/12.9, allocations: 381.3 kB / 4.951 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/12.9, allocations: 86.34 kB / 4.951 GB, free: 128.7 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 () * 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.0005371/12.9, allocations: 242.3 kB / 4.951 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/12.9, allocations: 231.7 kB / 4.951 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/12.9, allocations: 3.068 MB / 4.954 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/12.9, allocations: 24.56 kB / 4.954 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/12.9, allocations: 9.672 kB / 4.954 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/12.91, allocations: 2.599 MB / 4.957 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/12.92, allocations: 6.172 MB / 4.963 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/12.92, allocations: 0 / 4.963 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/12.92, allocations: 0.5417 MB / 4.963 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/12.92, allocations: 12.22 kB / 4.963 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/12.92, allocations: 65.27 kB / 4.963 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/12.92, allocations: 10.5 kB / 4.964 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/12.92, allocations: 0 / 4.964 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006628/12.93, allocations: 4.465 MB / 4.968 GB, free: 127.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/12.93, allocations: 0.6134 MB / 4.968 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/12.93, allocations: 47.22 kB / 4.969 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/12.93, allocations: 228.8 kB / 4.969 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/12.93, allocations: 152.4 kB / 4.969 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/12.93, allocations: 83.09 kB / 4.969 GB, free: 126.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001245/12.93, allocations: 0.9239 MB / 4.97 GB, free: 126.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.9e-07/12.93, allocations: 0 / 4.97 GB, free: 126.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00387/12.94, allocations: 1.37 MB / 4.971 GB, free: 126.7 MB / 1.198 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.005958/12.94, allocations: 4.304 MB / 4.975 GB, free: 124.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004145/12.95, allocations: 2.698 MB / 4.978 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/12.95, allocations: 3.5 kB / 4.978 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/12.95, allocations: 1.454 MB / 4.979 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/12.96, allocations: 1.234 MB / 4.981 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008621/12.97, allocations: 5.201 MB / 4.986 GB, free: 123.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/12.97, allocations: 1.953 MB / 4.988 GB, free: 122.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003703/12.97, allocations: 0.8508 MB / 4.988 GB, free: 122.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007597/12.97, allocations: 215.2 kB / 4.989 GB, free: 122.7 MB / 1.198 GB Notification: Performance of SimCode: time 1.392e-06/12.97, allocations: 0 / 4.989 GB, free: 122.7 MB / 1.198 GB Notification: Performance of Templates: time 0.1297/13.1, allocations: 97.35 MB / 5.084 GB, free: 118.4 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches