Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [: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.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001024/0.001024, allocations: 173.3 kB / 316 MB, free: 3.582 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.063/1.063, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.000818/0.0008183, allocations: 86.47 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.958/4.118, allocations: 2.195 GB / 3.079 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/4.118, allocations: 89.55 kB / 3.079 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9345/5.052, allocations: 357.6 MB / 3.428 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.068e-05/5.052, allocations: 22.75 kB / 3.428 GB, free: 191.6 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001334/5.054, allocations: 0.8855 MB / 3.429 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/5.054, allocations: 8.031 kB / 3.429 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/5.055, allocations: 179 kB / 3.429 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/5.056, allocations: 0.5596 MB / 3.43 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/5.056, allocations: 16 kB / 3.43 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/5.056, allocations: 27.91 kB / 3.43 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005289/5.056, allocations: 357.9 kB / 3.43 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/5.057, allocations: 380.5 kB / 3.431 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/5.057, allocations: 3.984 kB / 3.431 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/5.057, allocations: 0 / 3.431 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/5.057, allocations: 13 kB / 3.431 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/5.059, allocations: 1.981 MB / 3.433 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/5.059, allocations: 185.6 kB / 3.433 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/5.059, allocations: 160.9 kB / 3.433 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/5.06, allocations: 194.2 kB / 3.433 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/5.06, allocations: 38.47 kB / 3.433 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/5.06, allocations: 3.984 kB / 3.433 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0009042/5.061, allocations: 387.3 kB / 3.434 GB, free: 186 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/5.061, allocations: 59.34 kB / 3.434 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/5.061, allocations: 333.1 kB / 3.434 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/5.061, allocations: 25.7 kB / 3.434 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/5.061, allocations: 224 kB / 3.434 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/5.061, allocations: 98.5 kB / 3.434 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/5.061, allocations: 4 kB / 3.434 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/5.061, allocations: 354.7 kB / 3.435 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/5.061, allocations: 108 kB / 3.435 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/5.062, allocations: 196.8 kB / 3.435 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/5.062, allocations: 141.7 kB / 3.435 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/5.062, allocations: 0 / 3.435 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004093/5.062, allocations: 337 kB / 3.435 GB, free: 184 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.472e-05/5.062, allocations: 0.5372 MB / 3.436 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/5.062, allocations: 4 kB / 3.436 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/5.062, allocations: 0 / 3.436 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/5.063, allocations: 75.84 kB / 3.436 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/5.063, allocations: 4 kB / 3.436 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/5.063, allocations: 51.8 kB / 3.436 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/5.063, allocations: 11.91 kB / 3.436 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/5.063, allocations: 4 kB / 3.436 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000343/5.064, allocations: 284 kB / 3.436 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/5.064, allocations: 3.938 kB / 3.436 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/5.064, allocations: 4 kB / 3.436 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/5.064, allocations: 67.91 kB / 3.436 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/5.064, allocations: 4 kB / 3.436 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/5.064, allocations: 51.89 kB / 3.437 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/5.064, allocations: 16 kB / 3.437 GB, free: 182.9 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 (37): * Single equations (assignments): 37 * 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 8.266e-05/5.064, allocations: 112.8 kB / 3.437 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/5.065, allocations: 47.44 kB / 3.437 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/5.065, allocations: 367 kB / 3.437 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.065, allocations: 4 kB / 3.437 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/5.065, allocations: 0 / 3.437 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004136/5.066, allocations: 401.1 kB / 3.437 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/5.067, allocations: 1.023 MB / 3.438 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/5.067, allocations: 4 kB / 3.438 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/5.067, allocations: 59.91 kB / 3.438 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/5.067, allocations: 49.02 kB / 3.439 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/5.067, allocations: 7.984 kB / 3.439 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/5.068, allocations: 1.397 MB / 3.44 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/5.068, allocations: 0 / 3.44 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006831/5.069, allocations: 0.7379 MB / 3.441 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/5.069, allocations: 164.4 kB / 3.441 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/5.069, allocations: 4 kB / 3.441 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/5.07, allocations: 43.95 kB / 3.441 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/5.07, allocations: 23.88 kB / 3.441 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/5.07, allocations: 11.94 kB / 3.441 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000191/5.07, allocations: 263.2 kB / 3.441 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009748/5.071, allocations: 387.2 kB / 3.441 GB, free: 177.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/5.072, allocations: 1.259 MB / 3.443 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005345/5.073, allocations: 438.6 kB / 3.443 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/5.073, allocations: 8.062 kB / 3.443 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/5.073, allocations: 253.5 kB / 3.443 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/5.074, allocations: 267.6 kB / 3.444 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/5.075, allocations: 0.8196 MB / 3.444 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/5.076, allocations: 0.9598 MB / 3.445 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/5.076, allocations: 3.938 kB / 3.445 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02093/5.097, allocations: 16.91 MB / 3.462 GB, free: 156.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches