Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001336/0.001336, allocations: 180.9 kB / 487 MB, free: 5.398 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.399/1.399, allocations: 221.3 MB / 0.7819 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 96.62 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.032e-05, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3245, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.396, allocations: 0.5202 GB / 1.725 GB, free: 8.285 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.396, allocations: 88.62 kB / 1.725 GB, free: 8.238 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.278/3.674, allocations: 0.5463 GB / 2.272 GB, free: 275.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.605e-05/3.674, allocations: 24.66 kB / 2.272 GB, free: 275.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.002701/3.677, allocations: 1.165 MB / 2.273 GB, free: 274.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/3.677, allocations: 8.438 kB / 2.273 GB, free: 274.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009861/3.678, allocations: 143.8 kB / 2.273 GB, free: 274.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/3.689, allocations: 4.299 MB / 2.277 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/3.689, allocations: 17.44 kB / 2.277 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/3.689, allocations: 34.08 kB / 2.277 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005888/3.69, allocations: 296.5 kB / 2.278 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/3.691, allocations: 448.5 kB / 2.278 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/3.691, allocations: 0 / 2.278 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/3.691, allocations: 4.328 kB / 2.278 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/3.691, allocations: 11.38 kB / 2.278 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/3.694, allocations: 2.215 MB / 2.28 GB, free: 273.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/3.694, allocations: 199.9 kB / 2.28 GB, free: 273.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/3.694, allocations: 126.9 kB / 2.28 GB, free: 273.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/3.695, allocations: 2.297 MB / 2.283 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/3.696, allocations: 37.84 kB / 2.283 GB, free: 270.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.053e-06/3.696, allocations: 0 / 2.283 GB, free: 270.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.005879/3.701, allocations: 1.749 MB / 2.284 GB, free: 269.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/3.701, allocations: 59.06 kB / 2.285 GB, free: 269.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/3.702, allocations: 414.5 kB / 2.285 GB, free: 269.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/3.702, allocations: 27.44 kB / 2.285 GB, free: 269.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/3.702, allocations: 250.9 kB / 2.285 GB, free: 269.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/3.702, allocations: 152.5 kB / 2.285 GB, free: 269.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/3.702, allocations: 3.281 kB / 2.285 GB, free: 269.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001076/3.702, allocations: 364.8 kB / 2.286 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/3.703, allocations: 134.2 kB / 2.286 GB, free: 269.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/3.703, allocations: 262 kB / 2.286 GB, free: 268.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/3.704, allocations: 253.5 kB / 2.286 GB, free: 268.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/3.704, allocations: 0 / 2.286 GB, free: 268.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001736/3.706, allocations: 0.6501 MB / 2.287 GB, free: 268.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/3.706, allocations: 1.136 MB / 2.288 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/3.706, allocations: 3.906 kB / 2.288 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/3.706, allocations: 172 kB / 2.288 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/3.707, allocations: 78.52 kB / 2.288 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/3.708, allocations: 1.417 MB / 2.29 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/3.708, allocations: 28.86 kB / 2.29 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/3.708, allocations: 42.27 kB / 2.29 GB, free: 266.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/3.708, allocations: 3.969 kB / 2.29 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/3.71, allocations: 0.5588 MB / 2.29 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/3.71, allocations: 0 / 2.29 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/3.71, allocations: 182.4 kB / 2.29 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/3.711, allocations: 77.53 kB / 2.291 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/3.712, allocations: 1.412 MB / 2.292 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/3.712, allocations: 22.41 kB / 2.292 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/3.712, allocations: 42.56 kB / 2.292 GB, free: 265.5 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.0002442/3.713, allocations: 128.3 kB / 2.292 GB, free: 265.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/3.713, allocations: 79.25 kB / 2.292 GB, free: 265.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/3.715, allocations: 0.8985 MB / 2.293 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/3.716, allocations: 9.062 kB / 2.293 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/3.716, allocations: 6.75 kB / 2.293 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/3.717, allocations: 0.7824 MB / 2.294 GB, free: 264.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/3.72, allocations: 1.507 MB / 2.295 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/3.72, allocations: 0 / 2.295 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/3.721, allocations: 44.77 kB / 2.295 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005399/3.721, allocations: 180 kB / 2.296 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/3.721, allocations: 7.547 kB / 2.296 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/3.722, allocations: 1.411 MB / 2.297 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/3.722, allocations: 0 / 2.297 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002159/3.725, allocations: 1.055 MB / 2.298 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/3.725, allocations: 210.5 kB / 2.298 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/3.725, allocations: 7.75 kB / 2.298 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/3.726, allocations: 21.3 kB / 2.298 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/3.726, allocations: 23.92 kB / 2.298 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/3.726, allocations: 26.12 kB / 2.298 GB, free: 263.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004876/3.726, allocations: 325.7 kB / 2.299 GB, free: 263.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002779/3.729, allocations: 0.5494 MB / 2.299 GB, free: 263 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.001983/3.731, allocations: 0.6465 MB / 2.3 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001544/3.733, allocations: 0.7298 MB / 2.3 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.733, allocations: 0 / 2.3 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/3.733, allocations: 285.5 kB / 2.301 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/3.735, allocations: 293.2 kB / 2.301 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/3.737, allocations: 0.9752 MB / 2.302 GB, free: 262.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/3.738, allocations: 1.046 MB / 2.303 GB, free: 261.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.91e-07/3.738, allocations: 0 / 2.303 GB, free: 261.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04318/3.781, allocations: 19.56 MB / 2.322 GB, free: 256.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches