Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") [: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.435/1.435, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001181/0.001181, allocations: 185.2 kB / 316 MB, free: 3.531 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.759/1.759, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.001091/0.001091, allocations: 94.31 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.268e-06/9.308e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2722, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/5.956, allocations: 2.193 GB / 3.078 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/5.956, allocations: 83.95 kB / 3.078 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.411/7.367, allocations: 457.9 MB / 3.525 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.065e-05/7.367, allocations: 23.98 kB / 3.525 GB, free: 92.27 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001986/7.369, allocations: 1.153 MB / 3.526 GB, free: 91.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/7.37, allocations: 8.031 kB / 3.526 GB, free: 91.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/7.372, allocations: 342.3 kB / 3.526 GB, free: 90.72 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/7.373, allocations: 0.7895 MB / 3.527 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/7.373, allocations: 20 kB / 3.527 GB, free: 89.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/7.373, allocations: 44 kB / 3.527 GB, free: 89.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009422/7.374, allocations: 0.5467 MB / 3.528 GB, free: 89.28 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/7.375, allocations: 0.6748 MB / 3.528 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/7.375, allocations: 0 / 3.528 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/7.375, allocations: 7.984 kB / 3.528 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/7.375, allocations: 25.25 kB / 3.528 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/7.379, allocations: 3.327 MB / 3.532 GB, free: 84.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009432/7.38, allocations: 485.5 kB / 3.532 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/7.38, allocations: 238.5 kB / 3.532 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/7.381, allocations: 0.6731 MB / 3.533 GB, free: 83.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/7.381, allocations: 39 kB / 3.533 GB, free: 83.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/7.381, allocations: 4 kB / 3.533 GB, free: 83.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=51): time 0.001347/7.382, allocations: 0.5177 MB / 3.534 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/7.382, allocations: 59.78 kB / 3.534 GB, free: 82.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/7.383, allocations: 471.6 kB / 3.534 GB, free: 82.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/7.383, allocations: 25.7 kB / 3.534 GB, free: 82.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/7.383, allocations: 291.9 kB / 3.534 GB, free: 81.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/7.383, allocations: 173.4 kB / 3.535 GB, free: 81.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/7.383, allocations: 0 / 3.535 GB, free: 81.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001367/7.383, allocations: 374.8 kB / 3.535 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/7.384, allocations: 173 kB / 3.535 GB, free: 81.26 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/7.384, allocations: 248.2 kB / 3.535 GB, free: 80.99 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/7.384, allocations: 221.3 kB / 3.536 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/7.384, allocations: 0 / 3.536 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007191/7.385, allocations: 0.5231 MB / 3.536 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/7.385, allocations: 5.406 kB / 3.536 GB, free: 80.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/7.385, allocations: 8 kB / 3.536 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/7.385, allocations: 4 kB / 3.536 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/7.386, allocations: 123.8 kB / 3.536 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/7.386, allocations: 11.89 kB / 3.536 GB, free: 80.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/7.387, allocations: 71.58 kB / 3.536 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/7.387, allocations: 16 kB / 3.536 GB, free: 80.01 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.000123/7.387, allocations: 116.8 kB / 3.536 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/7.387, allocations: 71.16 kB / 3.537 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008279/7.388, allocations: 0.5021 MB / 3.537 GB, free: 79.31 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/7.388, allocations: 8.031 kB / 3.537 GB, free: 79.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/7.388, allocations: 3.938 kB / 3.537 GB, free: 79.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006202/7.388, allocations: 0.7395 MB / 3.538 GB, free: 78.47 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/7.39, allocations: 1.366 MB / 3.539 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/7.39, allocations: 0 / 3.539 GB, free: 77.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/7.391, allocations: 155.9 kB / 3.539 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/7.391, allocations: 4 kB / 3.539 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/7.391, allocations: 4 kB / 3.539 GB, free: 76.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/7.391, allocations: 7.906 kB / 3.539 GB, free: 76.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/7.391, allocations: 0 / 3.539 GB, free: 76.88 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001034/7.392, allocations: 0.9126 MB / 3.54 GB, free: 75.92 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/7.393, allocations: 220.1 kB / 3.54 GB, free: 75.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/7.393, allocations: 4 kB / 3.54 GB, free: 75.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/7.394, allocations: 59.8 kB / 3.54 GB, free: 75.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/7.394, allocations: 32.3 kB / 3.54 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/7.394, allocations: 23.98 kB / 3.54 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003649/7.394, allocations: 371.2 kB / 3.541 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001032/7.395, allocations: 351.3 kB / 3.541 GB, free: 74.87 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.001577/7.397, allocations: 1.374 MB / 3.542 GB, free: 73.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006135/7.397, allocations: 447.4 kB / 3.543 GB, free: 73.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/7.397, allocations: 0 / 3.543 GB, free: 73.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/7.398, allocations: 233.6 kB / 3.543 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/7.399, allocations: 421.9 kB / 3.544 GB, free: 72.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/7.402, allocations: 1.447 MB / 3.545 GB, free: 70.92 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/7.403, allocations: 1.109 MB / 3.546 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/7.403, allocations: 3.938 kB / 3.546 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of Templates: time 0.03071/7.433, allocations: 20.84 MB / 3.566 GB, free: 49.06 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches