Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 177.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 94.06 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.442/1.692, allocations: 442.7 MB / 1.317 GB, free: 275.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.692, allocations: 86.81 kB / 1.317 GB, free: 275.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.032/2.725, allocations: 328.9 MB / 1.638 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001082/2.725, allocations: 34 kB / 1.638 GB, free: 194.5 MB / 0.8698 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.002503/2.727, allocations: 1.332 MB / 1.64 GB, free: 194 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/2.727, allocations: 11.48 kB / 1.64 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/2.728, allocations: 135.1 kB / 1.64 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/2.729, allocations: 0.9777 MB / 1.641 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/2.729, allocations: 31.44 kB / 1.641 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/2.73, allocations: 47.56 kB / 1.641 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009497/2.731, allocations: 0.5266 MB / 1.641 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/2.732, allocations: 0.7218 MB / 1.642 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/2.732, allocations: 3.906 kB / 1.642 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/2.732, allocations: 7.188 kB / 1.642 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/2.732, allocations: 19.56 kB / 1.642 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/2.737, allocations: 3.739 MB / 1.646 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/2.738, allocations: 388.4 kB / 1.646 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/2.738, allocations: 261.6 kB / 1.646 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/2.739, allocations: 1.242 MB / 1.647 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/2.74, allocations: 297.3 kB / 1.648 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.567e-06/2.74, allocations: 3.906 kB / 1.648 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.001841/2.742, allocations: 0.6368 MB / 1.648 GB, free: 190 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/2.742, allocations: 84.39 kB / 1.648 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/2.743, allocations: 0.6434 MB / 1.649 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/2.743, allocations: 36.3 kB / 1.649 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/2.743, allocations: 326.3 kB / 1.649 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/2.743, allocations: 206.1 kB / 1.65 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/2.743, allocations: 0 / 1.65 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/2.743, allocations: 336.7 kB / 1.65 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/2.743, allocations: 182.6 kB / 1.65 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/2.744, allocations: 297.1 kB / 1.65 GB, free: 189 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/2.745, allocations: 270.8 kB / 1.651 GB, free: 189 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.745, allocations: 0 / 1.651 GB, free: 189 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00138/2.746, allocations: 0.6694 MB / 1.651 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002358/2.746, allocations: 0.871 MB / 1.652 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.746, allocations: 3.844 kB / 1.652 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/2.747, allocations: 87.61 kB / 1.652 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/2.747, allocations: 119.4 kB / 1.652 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000654/2.748, allocations: 0.6869 MB / 1.653 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/2.749, allocations: 84.53 kB / 1.653 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/2.749, allocations: 26.27 kB / 1.653 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/2.749, allocations: 4.844 kB / 1.653 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/2.75, allocations: 0.5513 MB / 1.654 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/2.75, allocations: 3.562 kB / 1.654 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/2.75, allocations: 89.45 kB / 1.654 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/2.75, allocations: 114.3 kB / 1.654 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005452/2.751, allocations: 0.6776 MB / 1.654 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/2.752, allocations: 72.25 kB / 1.655 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/2.752, allocations: 28.77 kB / 1.655 GB, free: 186.9 MB / 0.8698 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.0001769/2.752, allocations: 122.8 kB / 1.655 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/2.752, allocations: 89.22 kB / 1.655 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/2.754, allocations: 0.9505 MB / 1.656 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/2.754, allocations: 11.11 kB / 1.656 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.754, allocations: 3.172 kB / 1.656 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/2.755, allocations: 0.8184 MB / 1.657 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/2.758, allocations: 1.723 MB / 1.658 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/2.758, allocations: 0 / 1.658 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/2.759, allocations: 107.9 kB / 1.658 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/2.759, allocations: 136.5 kB / 1.658 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/2.759, allocations: 14.88 kB / 1.658 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008298/2.76, allocations: 1.275 MB / 1.66 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/2.76, allocations: 10.7 kB / 1.66 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001804/2.762, allocations: 1.225 MB / 1.661 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/2.762, allocations: 266.7 kB / 1.661 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/2.762, allocations: 3.969 kB / 1.661 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/2.763, allocations: 57.25 kB / 1.661 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/2.763, allocations: 41.38 kB / 1.661 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/2.763, allocations: 29.31 kB / 1.661 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000608/2.764, allocations: 0.5022 MB / 1.662 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001652/2.765, allocations: 0.6034 MB / 1.662 GB, free: 184.3 MB / 0.8698 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.001539/2.767, allocations: 0.8335 MB / 1.663 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001602/2.769, allocations: 0.8798 MB / 1.664 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.769, allocations: 0 / 1.664 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/2.769, allocations: 352.6 kB / 1.664 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/2.771, allocations: 349.1 kB / 1.665 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/2.774, allocations: 1.599 MB / 1.666 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/2.775, allocations: 1.181 MB / 1.667 GB, free: 183 MB / 0.8698 GB Notification: Performance of SimCode: time 2.715e-06/2.775, allocations: 0 / 1.667 GB, free: 183 MB / 0.8698 GB Notification: Performance of Templates: time 0.03618/2.811, allocations: 22.98 MB / 1.69 GB, free: 182.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches