Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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 1.951/1.951, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001017/0.001017, allocations: 177.3 kB / 490.8 MB, free: 1.898 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.389/1.389, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.000982/0.0009822, allocations: 99.94 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.205e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.428, allocations: 412.7 MB / 1.615 GB, free: 2.707 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.428, allocations: 88.17 kB / 1.615 GB, free: 2.664 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.252/2.68, allocations: 248.3 MB / 1.857 GB, free: 352.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001782/2.68, allocations: 31.94 kB / 1.857 GB, free: 352.4 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003295/2.684, allocations: 1.188 MB / 1.858 GB, free: 351.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/2.684, allocations: 8.031 kB / 1.858 GB, free: 351.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/2.684, allocations: 138.5 kB / 1.859 GB, free: 351.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/2.703, allocations: 7.816 MB / 1.866 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/2.703, allocations: 24 kB / 1.866 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/2.703, allocations: 51.84 kB / 1.866 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001485/2.705, allocations: 0.6599 MB / 1.867 GB, free: 342.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/2.706, allocations: 0.8694 MB / 1.868 GB, free: 341.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/2.706, allocations: 3.938 kB / 1.868 GB, free: 341.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/2.706, allocations: 4 kB / 1.868 GB, free: 341.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/2.706, allocations: 24 kB / 1.868 GB, free: 341.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/2.712, allocations: 4.502 MB / 1.872 GB, free: 336.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/2.713, allocations: 302.5 kB / 1.872 GB, free: 336.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/2.713, allocations: 257.3 kB / 1.873 GB, free: 336.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/2.713, allocations: 429.7 kB / 1.873 GB, free: 335.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/2.713, allocations: 42.89 kB / 1.873 GB, free: 335.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/2.713, allocations: 0 / 1.873 GB, free: 335.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.00139/2.715, allocations: 0.5538 MB / 1.874 GB, free: 335.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/2.715, allocations: 55.41 kB / 1.874 GB, free: 335 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/2.716, allocations: 0.7935 MB / 1.875 GB, free: 334.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/2.716, allocations: 29.7 kB / 1.875 GB, free: 334.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/2.716, allocations: 390.7 kB / 1.875 GB, free: 333.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/2.717, allocations: 142 kB / 1.875 GB, free: 333.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/2.717, allocations: 0 / 1.875 GB, free: 333.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/2.717, allocations: 334 kB / 1.875 GB, free: 333.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/2.717, allocations: 213.2 kB / 1.876 GB, free: 333.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/2.717, allocations: 428.6 kB / 1.876 GB, free: 332.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/2.718, allocations: 321.2 kB / 1.876 GB, free: 332.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/2.718, allocations: 8 kB / 1.876 GB, free: 332.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001321/2.719, allocations: 0.7558 MB / 1.877 GB, free: 331.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005443/2.72, allocations: 2.179 MB / 1.879 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/2.72, allocations: 4 kB / 1.879 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/2.72, allocations: 60.73 kB / 1.879 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/2.72, allocations: 111.8 kB / 1.879 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004886/2.721, allocations: 0.642 MB / 1.88 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/2.722, allocations: 91.38 kB / 1.88 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/2.722, allocations: 32 kB / 1.88 GB, free: 328.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/2.722, allocations: 4 kB / 1.88 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/2.723, allocations: 0.6214 MB / 1.881 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/2.723, allocations: 8 kB / 1.881 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/2.723, allocations: 64.56 kB / 1.881 GB, free: 327.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/2.724, allocations: 111.8 kB / 1.881 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/2.725, allocations: 1.587 MB / 1.882 GB, free: 325.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/2.726, allocations: 75.61 kB / 1.882 GB, free: 325.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/2.726, allocations: 31.98 kB / 1.883 GB, free: 325.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/2.727, allocations: 127.1 kB / 1.883 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/2.727, allocations: 86.97 kB / 1.883 GB, free: 325.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/2.728, allocations: 0.6397 MB / 1.883 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/2.728, allocations: 4 kB / 1.883 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/2.728, allocations: 0 / 1.883 GB, free: 324.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008045/2.729, allocations: 0.8048 MB / 1.884 GB, free: 323.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/2.732, allocations: 1.569 MB / 1.886 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/2.732, allocations: 4 kB / 1.886 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/2.732, allocations: 79.89 kB / 1.886 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.878e-05/2.732, allocations: 32.88 kB / 1.886 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/2.732, allocations: 12 kB / 1.886 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/2.733, allocations: 0.5679 MB / 1.886 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.733, allocations: 0 / 1.886 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001281/2.734, allocations: 0.9949 MB / 1.887 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/2.735, allocations: 263.9 kB / 1.888 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/2.735, allocations: 11.89 kB / 1.888 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/2.736, allocations: 51.88 kB / 1.888 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/2.736, allocations: 27.88 kB / 1.888 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/2.736, allocations: 23.98 kB / 1.888 GB, free: 320.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008761/2.737, allocations: 0.6162 MB / 1.888 GB, free: 319.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002536/2.739, allocations: 0.5767 MB / 1.889 GB, free: 318.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009858/2.74, allocations: 398.9 kB / 1.889 GB, free: 318.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001449/2.742, allocations: 0.9672 MB / 1.89 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.742, allocations: 7.938 kB / 1.89 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/2.742, allocations: 233.1 kB / 1.89 GB, free: 317.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/2.744, allocations: 0.5068 MB / 1.891 GB, free: 316.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/2.748, allocations: 1.653 MB / 1.893 GB, free: 315.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.749, allocations: 1.33 MB / 1.894 GB, free: 313.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/2.749, allocations: 0 / 1.894 GB, free: 313.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03601/2.785, allocations: 21.67 MB / 1.915 GB, free: 292.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches