Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.047/2.047, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.00139/0.00139, allocations: 189.2 kB / 487 MB, free: 5.367 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.437/1.437, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.001088/0.001088, allocations: 102.9 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.635e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3095, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.031/5.341, allocations: 1.948 GB / 3.153 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/5.341, allocations: 95.83 kB / 3.153 GB, free: 358.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.608/6.949, allocations: 476.8 MB / 3.619 GB, free: 290.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.652e-05/6.949, allocations: 30.67 kB / 3.619 GB, free: 290.3 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004395/6.954, allocations: 1.489 MB / 3.621 GB, free: 289.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/6.954, allocations: 11.78 kB / 3.621 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/6.956, allocations: 298.5 kB / 3.621 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/6.958, allocations: 0.8453 MB / 3.622 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/6.958, allocations: 19.38 kB / 3.622 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/6.958, allocations: 45.28 kB / 3.622 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/6.96, allocations: 0.8861 MB / 3.623 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/6.961, allocations: 0.8995 MB / 3.623 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/6.961, allocations: 0 / 3.623 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/6.961, allocations: 3.969 kB / 3.623 GB, free: 288.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/6.961, allocations: 75.12 kB / 3.624 GB, free: 288.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007311/6.968, allocations: 3.518 MB / 3.627 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/6.97, allocations: 0.7328 MB / 3.628 GB, free: 286.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/6.971, allocations: 362.5 kB / 3.628 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/6.971, allocations: 201.1 kB / 3.628 GB, free: 285.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/6.971, allocations: 43.59 kB / 3.628 GB, free: 285.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/6.971, allocations: 0 / 3.628 GB, free: 285.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002328/6.974, allocations: 0.749 MB / 3.629 GB, free: 285.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/6.974, allocations: 111.4 kB / 3.629 GB, free: 285.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/6.975, allocations: 0.5554 MB / 3.63 GB, free: 285 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/6.975, allocations: 27.08 kB / 3.63 GB, free: 285 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/6.975, allocations: 315.2 kB / 3.63 GB, free: 284.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/6.975, allocations: 208.3 kB / 3.63 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/6.975, allocations: 3.156 kB / 3.63 GB, free: 284.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001688/6.976, allocations: 392.2 kB / 3.631 GB, free: 284.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/6.976, allocations: 310 kB / 3.631 GB, free: 284.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/6.977, allocations: 447.5 kB / 3.631 GB, free: 283.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/6.979, allocations: 0.6718 MB / 3.632 GB, free: 283.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/6.979, allocations: 0 / 3.632 GB, free: 283.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002749/6.981, allocations: 1.151 MB / 3.633 GB, free: 283.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002491/6.982, allocations: 0.8731 MB / 3.634 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/6.982, allocations: 3.062 kB / 3.634 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.603e-05/6.982, allocations: 5.688 kB / 3.634 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/6.983, allocations: 150.6 kB / 3.634 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/6.983, allocations: 6.953 kB / 3.634 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/6.984, allocations: 89.64 kB / 3.634 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/6.984, allocations: 27.64 kB / 3.634 GB, free: 282.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/6.984, allocations: 4.094 kB / 3.634 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002225/6.986, allocations: 0.957 MB / 3.635 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/6.986, allocations: 2.219 kB / 3.635 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/6.986, allocations: 6.266 kB / 3.635 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/6.987, allocations: 140.3 kB / 3.635 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/6.987, allocations: 9.75 kB / 3.635 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/6.988, allocations: 77.61 kB / 3.635 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/6.988, allocations: 30.14 kB / 3.635 GB, free: 282.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002806/6.988, allocations: 121.7 kB / 3.635 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/6.989, allocations: 83.03 kB / 3.636 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/6.991, allocations: 0.7678 MB / 3.636 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/6.991, allocations: 9.578 kB / 3.636 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/6.991, allocations: 1.859 kB / 3.636 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/6.992, allocations: 0.7278 MB / 3.637 GB, free: 281.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/6.996, allocations: 1.95 MB / 3.639 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/6.996, allocations: 2.531 kB / 3.639 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/6.997, allocations: 128.5 kB / 3.639 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/6.997, allocations: 11.19 kB / 3.639 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/6.997, allocations: 11.95 kB / 3.639 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/6.997, allocations: 6.547 kB / 3.639 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/6.997, allocations: 4.344 kB / 3.639 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002635/7, allocations: 1.487 MB / 3.641 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/7.001, allocations: 246.3 kB / 3.641 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/7.001, allocations: 6.562 kB / 3.641 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/7.001, allocations: 39.23 kB / 3.641 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/7.001, allocations: 46.25 kB / 3.641 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/7.002, allocations: 30.84 kB / 3.641 GB, free: 279.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007867/7.002, allocations: 432.7 kB / 3.641 GB, free: 279 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003895/7.006, allocations: 0.878 MB / 3.642 GB, free: 278.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.004539/7.011, allocations: 1.932 MB / 3.644 GB, free: 278.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002647/7.013, allocations: 1.124 MB / 3.645 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/7.014, allocations: 1.469 kB / 3.645 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/7.014, allocations: 353.8 kB / 3.645 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/7.017, allocations: 424.2 kB / 3.646 GB, free: 277.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/7.021, allocations: 1.498 MB / 3.647 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/7.022, allocations: 1.183 MB / 3.648 GB, free: 276.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/7.022, allocations: 7.656 kB / 3.648 GB, free: 276.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06586/7.088, allocations: 31.63 MB / 3.679 GB, free: 262 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches