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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.858/1.858, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001023/0.001023, allocations: 177.3 kB / 487 MB, free: 5.355 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.202/1.202, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008631/0.000863, allocations: 91.98 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.941e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.271/3.476, allocations: 1.934 GB / 3.139 GB, free: 337.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/3.476, allocations: 88.44 kB / 3.139 GB, free: 337.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.645/8.121, allocations: 1.761 GB / 4.9 GB, free: 144.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0001462/8.121, allocations: 75.2 kB / 4.9 GB, free: 144.7 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.01049/8.132, allocations: 3.584 MB / 4.903 GB, free: 143.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/8.132, allocations: 6.469 kB / 4.903 GB, free: 143.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/8.139, allocations: 0.9772 MB / 4.904 GB, free: 143.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/8.143, allocations: 1.966 MB / 4.906 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/8.143, allocations: 84.69 kB / 4.906 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/8.143, allocations: 161.7 kB / 4.906 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004393/8.148, allocations: 3.101 MB / 4.909 GB, free: 143.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/8.152, allocations: 2.95 MB / 4.912 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/8.152, allocations: 6.062 kB / 4.912 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/8.152, allocations: 3.844 kB / 4.912 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-05/8.152, allocations: 125.9 kB / 4.912 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/8.166, allocations: 13.8 MB / 4.926 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/8.17, allocations: 2.676 MB / 4.928 GB, free: 135.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/8.172, allocations: 1.842 MB / 4.93 GB, free: 135.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/8.173, allocations: 1.493 MB / 4.932 GB, free: 133.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/8.173, allocations: 69.36 kB / 4.932 GB, free: 133.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 6.072e-06/8.173, allocations: 0 / 4.932 GB, free: 133.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.006685/8.18, allocations: 3.191 MB / 4.935 GB, free: 133.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/8.18, allocations: 81.09 kB / 4.935 GB, free: 133.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/8.181, allocations: 1.026 MB / 4.936 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/8.181, allocations: 32.33 kB / 4.936 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/8.182, allocations: 0.7128 MB / 4.937 GB, free: 133.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/8.182, allocations: 0.9078 MB / 4.938 GB, free: 132.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/8.183, allocations: 0 / 4.938 GB, free: 132.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001083/8.183, allocations: 406.8 kB / 4.938 GB, free: 132.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/8.184, allocations: 1.137 MB / 4.939 GB, free: 132.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/8.186, allocations: 1.433 MB / 4.94 GB, free: 132 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/8.188, allocations: 1.555 MB / 4.942 GB, free: 131.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/8.188, allocations: 0 / 4.942 GB, free: 131.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005141/8.194, allocations: 3.228 MB / 4.945 GB, free: 131.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/8.194, allocations: 6.219 kB / 4.945 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/8.194, allocations: 3.594 kB / 4.945 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-05/8.194, allocations: 14.38 kB / 4.945 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/8.196, allocations: 0.5361 MB / 4.946 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/8.196, allocations: 17.81 kB / 4.946 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/8.199, allocations: 329.4 kB / 4.946 GB, free: 131.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/8.199, allocations: 90.78 kB / 4.946 GB, free: 131.6 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.00036/8.199, allocations: 142.1 kB / 4.946 GB, free: 131.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/8.2, allocations: 229.8 kB / 4.946 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/8.205, allocations: 3.348 MB / 4.95 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/8.205, allocations: 31.64 kB / 4.95 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/8.205, allocations: 0 / 4.95 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003927/8.209, allocations: 2.854 MB / 4.953 GB, free: 131 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/8.219, allocations: 6.309 MB / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/8.219, allocations: 0 / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/8.222, allocations: 0.566 MB / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/8.222, allocations: 7.438 kB / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/8.222, allocations: 35.84 kB / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/8.222, allocations: 11.06 kB / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/8.222, allocations: 0 / 4.959 GB, free: 130.5 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006306/8.228, allocations: 4.721 MB / 4.964 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/8.23, allocations: 0.6269 MB / 4.965 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/8.23, allocations: 6.844 kB / 4.965 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/8.232, allocations: 180.4 kB / 4.965 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/8.232, allocations: 139.3 kB / 4.965 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/8.233, allocations: 94 kB / 4.965 GB, free: 129.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0009303/8.234, allocations: 0.7794 MB / 4.966 GB, free: 129.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002779/8.236, allocations: 1.191 MB / 4.967 GB, free: 129.6 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.006123/8.243, allocations: 4.71 MB / 4.971 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004244/8.247, allocations: 2.848 MB / 4.974 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/8.247, allocations: 0 / 4.974 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/8.249, allocations: 1.529 MB / 4.976 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/8.254, allocations: 1.076 MB / 4.977 GB, free: 127.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/8.262, allocations: 5.283 MB / 4.982 GB, free: 126.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/8.264, allocations: 2.224 MB / 4.984 GB, free: 125.8 MB / 1.198 GB Notification: Performance of SimCode: time 9.82e-07/8.264, allocations: 0 / 4.984 GB, free: 125.8 MB / 1.198 GB Notification: Performance of Templates: time 0.09061/8.355, allocations: 70.96 MB / 5.053 GB, free: 123.2 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