Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [: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.774/1.774, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.0009359/0.0009361, allocations: 178 kB / 490.8 MB, free: 1.902 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.13/1.13, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008403/0.0008403, allocations: 95.17 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1891, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.103/3.292, allocations: 1.938 GB / 3.149 GB, free: 377.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/3.292, allocations: 91.77 kB / 3.149 GB, free: 377.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.106/8.398, allocations: 1.976 GB / 5.126 GB, free: 125 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0001811/8.398, allocations: 85.89 kB / 5.126 GB, free: 125 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0124/8.411, allocations: 4.34 MB / 5.13 GB, free: 123.2 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/8.411, allocations: 7.344 kB / 5.13 GB, free: 123.2 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/8.418, allocations: 1.072 MB / 5.131 GB, free: 123 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004833/8.423, allocations: 2.284 MB / 5.133 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/8.423, allocations: 113.2 kB / 5.134 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/8.423, allocations: 198.3 kB / 5.134 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006242/8.43, allocations: 4.244 MB / 5.138 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/8.435, allocations: 3.745 MB / 5.142 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/8.435, allocations: 9.531 kB / 5.142 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/8.435, allocations: 3.25 kB / 5.142 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/8.436, allocations: 155.9 kB / 5.142 GB, free: 121.7 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/8.454, allocations: 16.23 MB / 5.158 GB, free: 110.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/8.46, allocations: 3.95 MB / 5.161 GB, free: 108.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/8.463, allocations: 2.418 MB / 5.164 GB, free: 107.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/8.464, allocations: 1.611 MB / 5.165 GB, free: 105.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/8.464, allocations: 77.64 kB / 5.165 GB, free: 105.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 4.558e-06/8.464, allocations: 0 / 5.165 GB, free: 105.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.008443/8.472, allocations: 4.368 MB / 5.17 GB, free: 101.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/8.473, allocations: 98.08 kB / 5.17 GB, free: 101 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/8.474, allocations: 1.211 MB / 5.171 GB, free: 99.75 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/8.474, allocations: 29.7 kB / 5.171 GB, free: 99.71 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/8.475, allocations: 0.8102 MB / 5.172 GB, free: 98.89 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/8.475, allocations: 1.27 MB / 5.173 GB, free: 97.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/8.476, allocations: 0 / 5.173 GB, free: 97.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001261/8.476, allocations: 445 kB / 5.173 GB, free: 97.16 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/8.478, allocations: 1.565 MB / 5.175 GB, free: 95.59 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/8.48, allocations: 1.939 MB / 5.177 GB, free: 93.56 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/8.484, allocations: 2.194 MB / 5.179 GB, free: 91.37 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/8.484, allocations: 4 kB / 5.179 GB, free: 91.37 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006958/8.491, allocations: 4.444 MB / 5.183 GB, free: 86.91 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/8.491, allocations: 4 kB / 5.183 GB, free: 86.91 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/8.491, allocations: 4 kB / 5.183 GB, free: 86.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/8.491, allocations: 23.56 kB / 5.183 GB, free: 86.88 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/8.494, allocations: 0.7177 MB / 5.184 GB, free: 86.16 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/8.494, allocations: 20 kB / 5.184 GB, free: 86.14 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/8.497, allocations: 403.7 kB / 5.185 GB, free: 85.77 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/8.497, allocations: 124 kB / 5.185 GB, free: 85.65 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0004643/8.498, allocations: 156.2 kB / 5.185 GB, free: 85.49 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/8.498, allocations: 287.6 kB / 5.185 GB, free: 85.21 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007569/8.506, allocations: 4.709 MB / 5.19 GB, free: 80.49 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/8.506, allocations: 36 kB / 5.19 GB, free: 80.46 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/8.506, allocations: 8 kB / 5.19 GB, free: 80.45 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005619/8.512, allocations: 4.074 MB / 5.194 GB, free: 76.31 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/8.524, allocations: 8.677 MB / 5.202 GB, free: 67.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/8.524, allocations: 0 / 5.202 GB, free: 67.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/8.528, allocations: 0.7507 MB / 5.203 GB, free: 66.85 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/8.528, allocations: 16 kB / 5.203 GB, free: 66.84 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/8.528, allocations: 39.95 kB / 5.203 GB, free: 66.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/8.528, allocations: 16 kB / 5.203 GB, free: 66.78 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/8.528, allocations: 7.531 kB / 5.203 GB, free: 66.78 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008649/8.537, allocations: 6.992 MB / 5.21 GB, free: 59.65 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/8.538, allocations: 0.8007 MB / 5.211 GB, free: 58.83 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/8.539, allocations: 11.98 kB / 5.211 GB, free: 58.82 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/8.541, allocations: 211 kB / 5.211 GB, free: 58.63 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/8.542, allocations: 194.7 kB / 5.211 GB, free: 58.44 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/8.542, allocations: 116 kB / 5.211 GB, free: 58.33 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001056/8.543, allocations: 0.9307 MB / 5.212 GB, free: 57.41 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003032/8.546, allocations: 1.462 MB / 5.213 GB, free: 55.94 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.00534/8.551, allocations: 5.542 MB / 5.219 GB, free: 50.92 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004554/8.556, allocations: 3.934 MB / 5.223 GB, free: 46.98 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/8.556, allocations: 4 kB / 5.223 GB, free: 46.98 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/8.558, allocations: 2.133 MB / 5.225 GB, free: 44.85 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/8.564, allocations: 1.23 MB / 5.226 GB, free: 43.71 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/8.573, allocations: 6.723 MB / 5.233 GB, free: 37.13 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/8.576, allocations: 2.629 MB / 5.235 GB, free: 34.47 MB / 1.198 GB Notification: Performance of SimCode: time 6.42e-07/8.576, allocations: 0 / 5.235 GB, free: 34.47 MB / 1.198 GB Notification: Performance of Templates: time 0.4731/9.049, allocations: 85.5 MB / 5.319 GB, free: 267.1 MB / 1.229 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches