Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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.073/2.073, allocations: 387.2 MB / 394.5 MB, free: 4.445 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 173.3 kB / 487 MB, free: 10.97 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7819 GB, free: 3.859 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 104.6 kB / 0.9213 GB, free: 4.93 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 6.321e-06/6.352e-06, allocations: 4 kB / 1.066 GB, free: 141 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 142.3 MB / 1.205 GB, free: 14.66 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.366/5.666, allocations: 2.165 GB / 3.37 GB, free: 26 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/5.666, allocations: 95.94 kB / 3.37 GB, free: 25.9 MB / 1.143 GB Notification: Performance of FrontEnd: time 2.144/7.81, allocations: 488.7 MB / 3.848 GB, free: 282.1 MB / 1.143 GB Notification: Performance of Transformations before backend: time 0.0001085/7.81, allocations: 42.75 kB / 3.848 GB, free: 282.1 MB / 1.143 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003047/7.813, allocations: 1.494 MB / 3.849 GB, free: 281.7 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/7.813, allocations: 10.38 kB / 3.849 GB, free: 281.7 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/7.816, allocations: 0.4965 MB / 3.85 GB, free: 281.7 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/7.819, allocations: 1.379 MB / 3.851 GB, free: 281.4 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/7.819, allocations: 34.19 kB / 3.851 GB, free: 281.4 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/7.819, allocations: 60.38 kB / 3.851 GB, free: 281.4 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001724/7.821, allocations: 1.183 MB / 3.852 GB, free: 281.4 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/7.823, allocations: 1.131 MB / 3.853 GB, free: 281.3 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/7.823, allocations: 0 / 3.853 GB, free: 281.3 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/7.823, allocations: 0 / 3.853 GB, free: 281.3 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/7.823, allocations: 51.39 kB / 3.853 GB, free: 281.3 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/7.829, allocations: 4.976 MB / 3.858 GB, free: 279.2 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/7.83, allocations: 0.926 MB / 3.859 GB, free: 279.1 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/7.831, allocations: 0.5746 MB / 3.86 GB, free: 279.1 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/7.831, allocations: 202.1 kB / 3.86 GB, free: 278.9 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/7.831, allocations: 45.03 kB / 3.86 GB, free: 278.9 MB / 1.143 GB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/7.831, allocations: 3.562 kB / 3.86 GB, free: 278.9 MB / 1.143 GB Notification: Performance of matching and sorting (n=81): time 0.004981/7.836, allocations: 2.559 MB / 3.862 GB, free: 278.4 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/7.836, allocations: 62.62 kB / 3.863 GB, free: 278.3 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008943/7.837, allocations: 0.788 MB / 3.863 GB, free: 278.2 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/7.837, allocations: 25.7 kB / 3.863 GB, free: 278.2 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/7.837, allocations: 391.6 kB / 3.864 GB, free: 278 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/7.837, allocations: 285.8 kB / 3.864 GB, free: 277.8 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/7.837, allocations: 3.656 kB / 3.864 GB, free: 277.8 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/7.838, allocations: 339.4 kB / 3.864 GB, free: 277.5 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/7.838, allocations: 444.3 kB / 3.865 GB, free: 277.5 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/7.839, allocations: 0.5851 MB / 3.865 GB, free: 277.4 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/7.839, allocations: 0.5502 MB / 3.866 GB, free: 277.4 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/7.839, allocations: 0 / 3.866 GB, free: 277.4 MB / 1.143 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001517/7.841, allocations: 1.213 MB / 3.867 GB, free: 277.3 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/7.841, allocations: 1.057 MB / 3.868 GB, free: 276.2 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/7.841, allocations: 3.938 kB / 3.868 GB, free: 276.2 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/7.841, allocations: 76.16 kB / 3.868 GB, free: 276.2 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/7.842, allocations: 182.3 kB / 3.868 GB, free: 276.2 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/7.844, allocations: 2.918 MB / 3.871 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/7.846, allocations: 113.5 kB / 3.871 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/7.846, allocations: 36.86 kB / 3.871 GB, free: 273.7 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/7.846, allocations: 0 / 3.871 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/7.847, allocations: 1.077 MB / 3.872 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/7.847, allocations: 3.969 kB / 3.872 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/7.847, allocations: 76.34 kB / 3.872 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/7.848, allocations: 169.1 kB / 3.873 GB, free: 273.7 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/7.849, allocations: 1.713 MB / 3.874 GB, free: 272.4 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/7.851, allocations: 121 kB / 3.874 GB, free: 272.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/7.851, allocations: 31.16 kB / 3.874 GB, free: 272.4 MB / 1.143 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002267/7.851, allocations: 122.4 kB / 3.875 GB, free: 272.3 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/7.851, allocations: 110.4 kB / 3.875 GB, free: 272.2 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/7.853, allocations: 1.157 MB / 3.876 GB, free: 272.2 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/7.853, allocations: 6.562 kB / 3.876 GB, free: 272.2 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/7.853, allocations: 6.25 kB / 3.876 GB, free: 272.2 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/7.854, allocations: 1.225 MB / 3.877 GB, free: 271.8 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/7.858, allocations: 2.651 MB / 3.88 GB, free: 271.4 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/7.858, allocations: 7.75 kB / 3.88 GB, free: 271.4 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/7.859, allocations: 220.5 kB / 3.88 GB, free: 271.4 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/7.859, allocations: 73.14 kB / 3.88 GB, free: 271.4 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/7.859, allocations: 18.78 kB / 3.88 GB, free: 271.4 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/7.861, allocations: 2.902 MB / 3.883 GB, free: 269 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/7.861, allocations: 3.969 kB / 3.883 GB, free: 269 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002045/7.863, allocations: 1.929 MB / 3.885 GB, free: 268.6 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/7.864, allocations: 319.5 kB / 3.885 GB, free: 268.4 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/7.864, allocations: 11.77 kB / 3.885 GB, free: 268.4 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/7.865, allocations: 84.67 kB / 3.885 GB, free: 268.4 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/7.865, allocations: 52.58 kB / 3.885 GB, free: 268.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/7.865, allocations: 32.8 kB / 3.885 GB, free: 268.4 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.0007678/7.866, allocations: 0.6209 MB / 3.886 GB, free: 268.3 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.002236/7.868, allocations: 0.718 MB / 3.886 GB, free: 268.3 MB / 1.143 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001946/7.87, allocations: 1.52 MB / 3.888 GB, free: 268 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.002655/7.873, allocations: 1.868 MB / 3.89 GB, free: 267.8 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/7.873, allocations: 7.516 kB / 3.89 GB, free: 267.8 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.0007362/7.873, allocations: 0.6485 MB / 3.89 GB, free: 267.7 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/7.877, allocations: 0.7059 MB / 3.891 GB, free: 267.6 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/7.881, allocations: 2.648 MB / 3.894 GB, free: 267.1 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/7.882, allocations: 1.539 MB / 3.895 GB, free: 266.4 MB / 1.143 GB Notification: Performance of SimCode: time 1.012e-06/7.882, allocations: 0 / 3.895 GB, free: 266.4 MB / 1.143 GB Notification: Performance of Templates: time 0.05419/7.936, allocations: 37.4 MB / 3.932 GB, free: 265.7 MB / 1.143 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches