Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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 2.001/2.001, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.00101/0.00101, allocations: 177.2 kB / 490.8 MB, free: 1.961 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.374/1.374, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009054/0.0009054, allocations: 95.53 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.385e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.381, allocations: 0.5209 GB / 1.733 GB, free: 15.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.382, allocations: 87.33 kB / 1.733 GB, free: 15.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.461/3.842, allocations: 0.5463 GB / 2.279 GB, free: 327.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000123/3.843, allocations: 26.72 kB / 2.279 GB, free: 327.6 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003818/3.846, allocations: 1.164 MB / 2.28 GB, free: 327 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/3.846, allocations: 7.625 kB / 2.28 GB, free: 327 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/3.848, allocations: 141.5 kB / 2.28 GB, free: 326.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/3.864, allocations: 4.303 MB / 2.284 GB, free: 326.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/3.864, allocations: 13.59 kB / 2.284 GB, free: 326.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/3.864, allocations: 26.72 kB / 2.284 GB, free: 326.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009808/3.865, allocations: 293.5 kB / 2.285 GB, free: 326.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/3.867, allocations: 451.6 kB / 2.285 GB, free: 326.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/3.867, allocations: 4.969 kB / 2.285 GB, free: 326.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/3.867, allocations: 4.906 kB / 2.285 GB, free: 326.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/3.867, allocations: 11.62 kB / 2.285 GB, free: 326.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/3.871, allocations: 2.208 MB / 2.287 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/3.871, allocations: 191 kB / 2.288 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/3.872, allocations: 133.8 kB / 2.288 GB, free: 325.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/3.873, allocations: 2.298 MB / 2.29 GB, free: 322.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/3.873, allocations: 44.41 kB / 2.29 GB, free: 322.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 3.998e-06/3.873, allocations: 0 / 2.29 GB, free: 322.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.006985/3.88, allocations: 1.75 MB / 2.292 GB, free: 321.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/3.88, allocations: 64.45 kB / 2.292 GB, free: 321.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/3.881, allocations: 421.9 kB / 2.292 GB, free: 321.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/3.881, allocations: 26.92 kB / 2.292 GB, free: 321.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/3.882, allocations: 242.8 kB / 2.292 GB, free: 321.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/3.882, allocations: 148.6 kB / 2.292 GB, free: 321 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/3.882, allocations: 1.156 kB / 2.292 GB, free: 321 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001299/3.882, allocations: 362.8 kB / 2.293 GB, free: 320.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/3.882, allocations: 143 kB / 2.293 GB, free: 320.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/3.883, allocations: 253.6 kB / 2.293 GB, free: 320.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/3.884, allocations: 256.6 kB / 2.293 GB, free: 320.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/3.884, allocations: 5.219 kB / 2.293 GB, free: 320.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002192/3.886, allocations: 0.6556 MB / 2.294 GB, free: 320.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000326/3.886, allocations: 1.138 MB / 2.295 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/3.886, allocations: 3.812 kB / 2.295 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/3.887, allocations: 176.8 kB / 2.295 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/3.887, allocations: 72.83 kB / 2.295 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/3.889, allocations: 1.421 MB / 2.297 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/3.889, allocations: 21.27 kB / 2.297 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/3.89, allocations: 37.94 kB / 2.297 GB, free: 317.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/3.89, allocations: 3.594 kB / 2.297 GB, free: 317.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/3.891, allocations: 0.5556 MB / 2.297 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/3.891, allocations: 2.969 kB / 2.297 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/3.892, allocations: 174.3 kB / 2.298 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/3.892, allocations: 82.08 kB / 2.298 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/3.894, allocations: 1.42 MB / 2.299 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/3.894, allocations: 29.86 kB / 2.299 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/3.894, allocations: 40.17 kB / 2.299 GB, free: 316.2 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002984/3.895, allocations: 127.5 kB / 2.299 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/3.895, allocations: 77.97 kB / 2.299 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/3.898, allocations: 0.9049 MB / 2.3 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/3.898, allocations: 7.25 kB / 2.3 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/3.898, allocations: 0 / 2.3 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001862/3.9, allocations: 0.7852 MB / 2.301 GB, free: 315.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/3.904, allocations: 1.494 MB / 2.302 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/3.904, allocations: 0.9688 kB / 2.302 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/3.904, allocations: 50.36 kB / 2.303 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/3.905, allocations: 165.2 kB / 2.303 GB, free: 314.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/3.905, allocations: 12.36 kB / 2.303 GB, free: 314.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/3.906, allocations: 1.41 MB / 2.304 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/3.906, allocations: 2.016 kB / 2.304 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002674/3.909, allocations: 1.056 MB / 2.305 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/3.909, allocations: 207.6 kB / 2.305 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/3.91, allocations: 1.188 kB / 2.305 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/3.91, allocations: 27.28 kB / 2.305 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/3.91, allocations: 29.09 kB / 2.305 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/3.91, allocations: 26.23 kB / 2.305 GB, free: 312.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005716/3.911, allocations: 323.2 kB / 2.306 GB, free: 312.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002844/3.914, allocations: 0.546 MB / 2.306 GB, free: 312.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002586/3.916, allocations: 0.6373 MB / 2.307 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002183/3.919, allocations: 0.7342 MB / 2.308 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/3.919, allocations: 1.312 kB / 2.308 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/3.919, allocations: 282.7 kB / 2.308 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/3.921, allocations: 288.3 kB / 2.308 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/3.925, allocations: 0.9812 MB / 2.309 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/3.926, allocations: 1.042 MB / 2.31 GB, free: 310.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.723e-06/3.926, allocations: 0 / 2.31 GB, free: 310.9 MB / 1.151 GB Notification: Performance of Templates: time 0.04453/3.97, allocations: 19.57 MB / 2.329 GB, free: 304.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches