Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.065/2.065, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001182/0.001182, allocations: 173.3 kB / 487 MB, free: 5.328 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.483/1.483, allocations: 221.3 MB / 0.7819 GB, free: 1.309 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.001025/0.001024, allocations: 98.11 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.011e-05, allocations: 8 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.187, allocations: 1.917 GB / 3.122 GB, free: 390.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.187, allocations: 87.94 kB / 3.123 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4787/5.666, allocations: 263.7 MB / 3.38 GB, free: 121.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.6e-05/5.666, allocations: 16 kB / 3.38 GB, free: 121.1 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001484/5.667, allocations: 0.7839 MB / 3.381 GB, free: 120.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/5.667, allocations: 12.03 kB / 3.381 GB, free: 120.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/5.669, allocations: 183.1 kB / 3.381 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/5.67, allocations: 0.5197 MB / 3.381 GB, free: 119.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/5.67, allocations: 15.94 kB / 3.382 GB, free: 119.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/5.67, allocations: 24 kB / 3.382 GB, free: 119.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006757/5.67, allocations: 377.8 kB / 3.382 GB, free: 119.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/5.671, allocations: 452.1 kB / 3.382 GB, free: 118.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/5.671, allocations: 0 / 3.382 GB, free: 118.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/5.671, allocations: 4 kB / 3.382 GB, free: 118.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/5.671, allocations: 16.98 kB / 3.382 GB, free: 118.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/5.674, allocations: 1.674 MB / 3.384 GB, free: 116.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/5.674, allocations: 201.9 kB / 3.384 GB, free: 116.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/5.674, allocations: 169.3 kB / 3.384 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/5.675, allocations: 97.09 kB / 3.384 GB, free: 116.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/5.675, allocations: 42.55 kB / 3.384 GB, free: 116.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/5.675, allocations: 0 / 3.384 GB, free: 116.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001919/5.677, allocations: 0.8943 MB / 3.385 GB, free: 115.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/5.677, allocations: 51.41 kB / 3.385 GB, free: 115.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/5.677, allocations: 294 kB / 3.386 GB, free: 115 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/5.677, allocations: 29.64 kB / 3.386 GB, free: 115 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/5.677, allocations: 212 kB / 3.386 GB, free: 114.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/5.677, allocations: 114.3 kB / 3.386 GB, free: 114.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/5.677, allocations: 0 / 3.386 GB, free: 114.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001567/5.677, allocations: 346.8 kB / 3.386 GB, free: 114.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/5.678, allocations: 120 kB / 3.386 GB, free: 114.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/5.678, allocations: 186.6 kB / 3.387 GB, free: 114 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/5.679, allocations: 0.5678 MB / 3.387 GB, free: 113.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/5.679, allocations: 3.938 kB / 3.387 GB, free: 113.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005614/5.68, allocations: 376.8 kB / 3.388 GB, free: 113 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/5.68, allocations: 7.906 kB / 3.388 GB, free: 113 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/5.68, allocations: 4 kB / 3.388 GB, free: 113 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/5.68, allocations: 4 kB / 3.388 GB, free: 113 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/5.68, allocations: 71.91 kB / 3.388 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/5.68, allocations: 4 kB / 3.388 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/5.681, allocations: 24.11 kB / 3.388 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/5.681, allocations: 8 kB / 3.388 GB, free: 112.9 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 42 * 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.0001414/5.681, allocations: 120.8 kB / 3.388 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/5.681, allocations: 43.53 kB / 3.388 GB, free: 112.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/5.681, allocations: 48.25 kB / 3.388 GB, free: 112.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/5.681, allocations: 8 kB / 3.388 GB, free: 112.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/5.681, allocations: 4 kB / 3.388 GB, free: 112.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004607/5.682, allocations: 388.5 kB / 3.388 GB, free: 112.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/5.683, allocations: 1.151 MB / 3.389 GB, free: 111 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/5.683, allocations: 8.062 kB / 3.389 GB, free: 111 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/5.684, allocations: 71.91 kB / 3.389 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/5.684, allocations: 15.89 kB / 3.389 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/5.684, allocations: 4 kB / 3.389 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/5.684, allocations: 11.94 kB / 3.389 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/5.684, allocations: 4 kB / 3.389 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008255/5.685, allocations: 0.856 MB / 3.39 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/5.685, allocations: 160.6 kB / 3.39 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/5.685, allocations: 11.91 kB / 3.39 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/5.685, allocations: 23.86 kB / 3.391 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/5.686, allocations: 31.94 kB / 3.391 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/5.686, allocations: 20 kB / 3.391 GB, free: 109.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001987/5.686, allocations: 228.6 kB / 3.391 GB, free: 109.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008584/5.687, allocations: 188 kB / 3.391 GB, free: 109.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001697/5.688, allocations: 1.101 MB / 3.392 GB, free: 108.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005271/5.689, allocations: 303.8 kB / 3.392 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.689, allocations: 0 / 3.392 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/5.689, allocations: 152.1 kB / 3.392 GB, free: 107.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/5.69, allocations: 247.2 kB / 3.393 GB, free: 107.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/5.692, allocations: 0.8237 MB / 3.394 GB, free: 106.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/5.693, allocations: 0.9399 MB / 3.394 GB, free: 105.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.663e-06/5.693, allocations: 0 / 3.394 GB, free: 105.6 MB / 1.151 GB Notification: Performance of Templates: time 0.0216/5.714, allocations: 13.64 MB / 3.408 GB, free: 92.05 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches