Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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.802/1.802, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009052/0.0009052, allocations: 181.2 kB / 490.8 MB, free: 1.938 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.152/1.152, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0009117/0.0009117, allocations: 89.22 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.151e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/0.9432, allocations: 461.5 MB / 1.662 GB, free: 2.895 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.9434, allocations: 89.59 kB / 1.662 GB, free: 2.852 MB / 1.073 GB Notification: Performance of FrontEnd: time 0.9962/1.94, allocations: 338.8 MB / 1.993 GB, free: 192.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000113/1.94, allocations: 26.58 kB / 1.993 GB, free: 192.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002479/1.942, allocations: 1.329 MB / 1.994 GB, free: 191.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/1.942, allocations: 8.031 kB / 1.995 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/1.943, allocations: 138.4 kB / 1.995 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/1.944, allocations: 0.97 MB / 1.996 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/1.944, allocations: 24 kB / 1.996 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.945, allocations: 52 kB / 1.996 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008158/1.945, allocations: 0.5233 MB / 1.996 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/1.946, allocations: 0.725 MB / 1.997 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/1.946, allocations: 0 / 1.997 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/1.946, allocations: 4 kB / 1.997 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/1.946, allocations: 23.91 kB / 1.997 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/1.95, allocations: 3.741 MB / 2.001 GB, free: 185.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/1.95, allocations: 383.3 kB / 2.001 GB, free: 184.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/1.951, allocations: 266.3 kB / 2.001 GB, free: 184.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/1.951, allocations: 1.247 MB / 2.002 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/1.952, allocations: 283 kB / 2.003 GB, free: 182.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 2.004e-06/1.952, allocations: 4 kB / 2.003 GB, free: 182.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001297/1.953, allocations: 0.6333 MB / 2.003 GB, free: 182 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.953, allocations: 85.77 kB / 2.003 GB, free: 181.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/1.954, allocations: 0.6451 MB / 2.004 GB, free: 181.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/1.954, allocations: 25.7 kB / 2.004 GB, free: 181.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/1.954, allocations: 332 kB / 2.004 GB, free: 180.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.954, allocations: 208.9 kB / 2.005 GB, free: 180.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/1.954, allocations: 3.938 kB / 2.005 GB, free: 180.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/1.954, allocations: 334 kB / 2.005 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/1.954, allocations: 173.3 kB / 2.005 GB, free: 180.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/1.955, allocations: 303.6 kB / 2.005 GB, free: 179.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/1.955, allocations: 271.8 kB / 2.006 GB, free: 179.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.955, allocations: 0 / 2.006 GB, free: 179.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001192/1.956, allocations: 0.6636 MB / 2.006 GB, free: 178.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.957, allocations: 0.8796 MB / 2.007 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.957, allocations: 8 kB / 2.007 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/1.957, allocations: 76.83 kB / 2.007 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/1.957, allocations: 123.8 kB / 2.007 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005056/1.958, allocations: 0.6965 MB / 2.008 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/1.958, allocations: 75.55 kB / 2.008 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/1.958, allocations: 27.98 kB / 2.008 GB, free: 176.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/1.958, allocations: 4 kB / 2.008 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/1.96, allocations: 0.5459 MB / 2.009 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.96, allocations: 4 kB / 2.009 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/1.96, allocations: 92.66 kB / 2.009 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/1.96, allocations: 115.9 kB / 2.009 GB, free: 176.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004656/1.961, allocations: 0.6853 MB / 2.009 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/1.961, allocations: 71.47 kB / 2.01 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.961, allocations: 28.08 kB / 2.01 GB, free: 175.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.961, allocations: 127.8 kB / 2.01 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/1.961, allocations: 90.88 kB / 2.01 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.963, allocations: 0.9513 MB / 2.011 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.963, allocations: 8 kB / 2.011 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.963, allocations: 3.906 kB / 2.011 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.964, allocations: 0.8022 MB / 2.011 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.967, allocations: 1.719 MB / 2.013 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.967, allocations: 0 / 2.013 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/1.967, allocations: 111.8 kB / 2.013 GB, free: 171.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/1.968, allocations: 137.7 kB / 2.013 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/1.968, allocations: 15.98 kB / 2.013 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008114/1.969, allocations: 1.276 MB / 2.015 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.969, allocations: 0 / 2.015 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/1.97, allocations: 1.231 MB / 2.016 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/1.971, allocations: 271.6 kB / 2.016 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.971, allocations: 4 kB / 2.016 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/1.971, allocations: 47.86 kB / 2.016 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/1.972, allocations: 44.59 kB / 2.016 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/1.972, allocations: 27.98 kB / 2.016 GB, free: 168.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006236/1.972, allocations: 0.503 MB / 2.017 GB, free: 167.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001845/1.974, allocations: 0.6085 MB / 2.017 GB, free: 167.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/1.976, allocations: 0.8335 MB / 2.018 GB, free: 166.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001362/1.977, allocations: 0.8845 MB / 2.019 GB, free: 165.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.977, allocations: 3.938 kB / 2.019 GB, free: 165.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/1.977, allocations: 351.3 kB / 2.019 GB, free: 165.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.979, allocations: 348.7 kB / 2.02 GB, free: 164.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/1.982, allocations: 1.596 MB / 2.021 GB, free: 163.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/1.982, allocations: 1.186 MB / 2.022 GB, free: 161.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.5e-07/1.982, allocations: 0 / 2.022 GB, free: 161.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02756/2.01, allocations: 22.99 MB / 2.045 GB, free: 139.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches