Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") [: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.979/1.979, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001161/0.001161, allocations: 187.9 kB / 490.8 MB, free: 1.922 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.543/1.543, allocations: 221.3 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.0008921/0.0008922, allocations: 95.33 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.859e-06/9.869e-06, allocations: 7.938 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.008/2.316, allocations: 0.8019 GB / 2.013 GB, free: 162.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/2.316, allocations: 85.95 kB / 2.014 GB, free: 162.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.374/3.69, allocations: 466.8 MB / 2.469 GB, free: 159.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.312e-05/3.69, allocations: 16 kB / 2.469 GB, free: 159.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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002726/3.693, allocations: 1.033 MB / 2.47 GB, free: 158.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/3.693, allocations: 15.97 kB / 2.47 GB, free: 158.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/3.695, allocations: 262.8 kB / 2.471 GB, free: 158.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/3.696, allocations: 0.6497 MB / 2.471 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/3.696, allocations: 16 kB / 2.471 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/3.696, allocations: 36 kB / 2.471 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006696/3.697, allocations: 433.8 kB / 2.472 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/3.697, allocations: 0.5078 MB / 2.472 GB, free: 156.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/3.697, allocations: 0 / 2.472 GB, free: 156.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/3.697, allocations: 0 / 2.472 GB, free: 156.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/3.697, allocations: 20.94 kB / 2.472 GB, free: 156.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/3.7, allocations: 2.202 MB / 2.474 GB, free: 154.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/3.701, allocations: 327.4 kB / 2.475 GB, free: 154.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/3.701, allocations: 197.3 kB / 2.475 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/3.701, allocations: 190.5 kB / 2.475 GB, free: 153.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/3.701, allocations: 34.84 kB / 2.475 GB, free: 153.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=34): time 3.236e-06/3.701, allocations: 0 / 2.475 GB, free: 153.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=34): time 0.001695/3.703, allocations: 0.5274 MB / 2.476 GB, free: 153.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/3.703, allocations: 55.41 kB / 2.476 GB, free: 153.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/3.703, allocations: 341.2 kB / 2.476 GB, free: 152.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/3.703, allocations: 25.7 kB / 2.476 GB, free: 152.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/3.703, allocations: 232.5 kB / 2.476 GB, free: 152.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/3.703, allocations: 122.2 kB / 2.476 GB, free: 152.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/3.703, allocations: 4 kB / 2.476 GB, free: 152.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/3.704, allocations: 358.6 kB / 2.477 GB, free: 152 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/3.704, allocations: 136 kB / 2.477 GB, free: 151.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/3.704, allocations: 207.5 kB / 2.477 GB, free: 151.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/3.705, allocations: 267.5 kB / 2.477 GB, free: 151.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/3.705, allocations: 0 / 2.477 GB, free: 151.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008659/3.705, allocations: 0.4964 MB / 2.478 GB, free: 150.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/3.706, allocations: 445 kB / 2.478 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/3.706, allocations: 4 kB / 2.478 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/3.706, allocations: 7.938 kB / 2.478 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/3.706, allocations: 95.86 kB / 2.478 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/3.706, allocations: 0.5938 MB / 2.479 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/3.707, allocations: 51.92 kB / 2.479 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/3.707, allocations: 15.98 kB / 2.479 GB, free: 149.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/3.707, allocations: 4 kB / 2.479 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000799/3.708, allocations: 439.2 kB / 2.479 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/3.708, allocations: 3.906 kB / 2.479 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/3.708, allocations: 4 kB / 2.479 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/3.708, allocations: 79.89 kB / 2.479 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/3.708, allocations: 0 / 2.479 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/3.708, allocations: 55.8 kB / 2.48 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/3.708, allocations: 12 kB / 2.48 GB, free: 149.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/3.709, allocations: 120.8 kB / 2.48 GB, free: 148.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/3.709, allocations: 47.44 kB / 2.48 GB, free: 148.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/3.71, allocations: 0.5338 MB / 2.48 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/3.71, allocations: 0 / 2.48 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/3.71, allocations: 4 kB / 2.48 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008362/3.711, allocations: 0.7502 MB / 2.481 GB, free: 147.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/3.712, allocations: 1.404 MB / 2.482 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/3.712, allocations: 4.25 kB / 2.482 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/3.713, allocations: 83.89 kB / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/3.713, allocations: 32.78 kB / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/3.713, allocations: 4 kB / 2.482 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004212/3.713, allocations: 1.17 MB / 2.484 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/3.713, allocations: 0 / 2.484 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001074/3.715, allocations: 0.8677 MB / 2.484 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/3.715, allocations: 180.4 kB / 2.485 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/3.715, allocations: 0 / 2.485 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/3.715, allocations: 35.86 kB / 2.485 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/3.715, allocations: 27.97 kB / 2.485 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/3.715, allocations: 16 kB / 2.485 GB, free: 143.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002294/3.716, allocations: 271.2 kB / 2.485 GB, free: 143.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001546/3.717, allocations: 0.5534 MB / 2.485 GB, free: 142.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/3.719, allocations: 1.285 MB / 2.487 GB, free: 141.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009613/3.72, allocations: 0.5662 MB / 2.487 GB, free: 140.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/3.72, allocations: 4.188 kB / 2.487 GB, free: 140.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/3.72, allocations: 207.7 kB / 2.487 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/3.721, allocations: 272.7 kB / 2.488 GB, free: 140.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/3.723, allocations: 1.042 MB / 2.489 GB, free: 139.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/3.724, allocations: 0.9916 MB / 2.49 GB, free: 138.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.21e-07/3.724, allocations: 4 kB / 2.49 GB, free: 138.2 MB / 1.151 GB Notification: Performance of Templates: time 0.02565/3.749, allocations: 19.2 MB / 2.508 GB, free: 119.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches