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") [: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 10.0.0-master/package.mo): time 1.781/1.781, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009311/0.0009312, allocations: 173.3 kB / 490.8 MB, free: 1.949 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.11/1.11, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0007942/0.0007943, allocations: 92.61 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.821e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.051/3.237, allocations: 1.935 GB / 3.146 GB, free: 341.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/3.238, allocations: 86.61 kB / 3.146 GB, free: 341.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.858/8.096, allocations: 1.761 GB / 4.907 GB, free: 141.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003251/8.096, allocations: 73.86 kB / 4.907 GB, free: 141.6 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.01292/8.109, allocations: 3.588 MB / 4.91 GB, free: 140.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/8.109, allocations: 8.875 kB / 4.91 GB, free: 140.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/8.117, allocations: 0.9713 MB / 4.911 GB, free: 140.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/8.121, allocations: 1.978 MB / 4.913 GB, free: 140.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/8.121, allocations: 81.53 kB / 4.913 GB, free: 140.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/8.122, allocations: 156.6 kB / 4.913 GB, free: 140.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004525/8.126, allocations: 3.1 MB / 4.916 GB, free: 140.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/8.13, allocations: 2.955 MB / 4.919 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/8.13, allocations: 6.5 kB / 4.919 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/8.13, allocations: 6.938 kB / 4.919 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.523e-05/8.13, allocations: 127.1 kB / 4.919 GB, free: 139.9 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/8.144, allocations: 13.79 MB / 4.933 GB, free: 132.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/8.147, allocations: 2.678 MB / 4.936 GB, free: 132.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/8.149, allocations: 1.841 MB / 4.937 GB, free: 132.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/8.15, allocations: 1.496 MB / 4.939 GB, free: 130.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/8.15, allocations: 67.06 kB / 4.939 GB, free: 130.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 4.087e-06/8.15, allocations: 0 / 4.939 GB, free: 130.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.00645/8.157, allocations: 3.185 MB / 4.942 GB, free: 130.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/8.157, allocations: 81.69 kB / 4.942 GB, free: 130.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/8.158, allocations: 1.028 MB / 4.943 GB, free: 130.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/8.158, allocations: 25.7 kB / 4.943 GB, free: 130.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/8.159, allocations: 0.7111 MB / 4.944 GB, free: 130.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/8.159, allocations: 0.9052 MB / 4.945 GB, free: 129.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/8.159, allocations: 5.406 kB / 4.945 GB, free: 129.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/8.159, allocations: 407.3 kB / 4.945 GB, free: 129.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/8.161, allocations: 1.144 MB / 4.946 GB, free: 129.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/8.162, allocations: 1.433 MB / 4.948 GB, free: 129.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/8.165, allocations: 1.555 MB / 4.949 GB, free: 129 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/8.165, allocations: 0 / 4.949 GB, free: 129 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004896/8.17, allocations: 3.228 MB / 4.952 GB, free: 128.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/8.17, allocations: 3.656 kB / 4.952 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/8.17, allocations: 7.5 kB / 4.952 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/8.17, allocations: 17.84 kB / 4.952 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/8.172, allocations: 0.5318 MB / 4.953 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/8.172, allocations: 20.09 kB / 4.953 GB, free: 128.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/8.175, allocations: 329.9 kB / 4.953 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/8.175, allocations: 92.39 kB / 4.953 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.0003363/8.176, allocations: 141.1 kB / 4.953 GB, free: 128.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/8.176, allocations: 219.1 kB / 4.954 GB, free: 128.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/8.181, allocations: 3.348 MB / 4.957 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/8.181, allocations: 28.66 kB / 4.957 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/8.181, allocations: 0 / 4.957 GB, free: 128.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003943/8.185, allocations: 2.856 MB / 4.96 GB, free: 128.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009592/8.195, allocations: 6.308 MB / 4.966 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/8.195, allocations: 0 / 4.966 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/8.198, allocations: 0.5729 MB / 4.966 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/8.198, allocations: 7.938 kB / 4.966 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/8.198, allocations: 41 kB / 4.966 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/8.198, allocations: 9.062 kB / 4.966 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/8.198, allocations: 0.9375 kB / 4.966 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006214/8.204, allocations: 4.715 MB / 4.971 GB, free: 127.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/8.205, allocations: 0.6311 MB / 4.972 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/8.206, allocations: 7.562 kB / 4.972 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/8.208, allocations: 180.1 kB / 4.972 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/8.208, allocations: 136.5 kB / 4.972 GB, free: 126.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/8.208, allocations: 86.48 kB / 4.972 GB, free: 126.9 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0009536/8.209, allocations: 0.7926 MB / 4.973 GB, free: 126.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002615/8.212, allocations: 1.187 MB / 4.974 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.0046/8.216, allocations: 4.717 MB / 4.979 GB, free: 124.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003413/8.22, allocations: 2.852 MB / 4.981 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/8.22, allocations: 0 / 4.981 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/8.221, allocations: 1.532 MB / 4.983 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.004749/8.226, allocations: 1.076 MB / 4.984 GB, free: 124.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007934/8.234, allocations: 5.271 MB / 4.989 GB, free: 123.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/8.236, allocations: 2.227 MB / 4.991 GB, free: 122.9 MB / 1.198 GB Notification: Performance of SimCode: time 9.22e-07/8.236, allocations: 0 / 4.991 GB, free: 122.9 MB / 1.198 GB Notification: Performance of Templates: time 0.09362/8.33, allocations: 70.96 MB / 5.061 GB, free: 120.6 MB / 1.198 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