Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.221/1.221, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 177.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009781/0.0009785, allocations: 94.2 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.663e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9166/1.084, allocations: 393.3 MB / 1.269 GB, free: 327.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/1.084, allocations: 93.78 kB / 1.269 GB, free: 327.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3943/1.479, allocations: 235.5 MB / 1.499 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.996e-05/1.479, allocations: 39.86 kB / 1.499 GB, free: 115.6 MB / 0.8698 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.001375/1.48, allocations: 1.183 MB / 1.5 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/1.48, allocations: 8.031 kB / 1.5 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/1.481, allocations: 142.5 kB / 1.5 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/1.494, allocations: 7.454 MB / 1.507 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/1.494, allocations: 20 kB / 1.507 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/1.494, allocations: 51.91 kB / 1.507 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008911/1.495, allocations: 0.6598 MB / 1.508 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/1.496, allocations: 0.8502 MB / 1.509 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.496, allocations: 7.938 kB / 1.509 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.496, allocations: 0 / 1.509 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/1.496, allocations: 24 kB / 1.509 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/1.5, allocations: 4.502 MB / 1.513 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/1.5, allocations: 306.5 kB / 1.514 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/1.5, allocations: 257.4 kB / 1.514 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/1.501, allocations: 433.8 kB / 1.514 GB, free: 99.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/1.501, allocations: 38.88 kB / 1.514 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/1.501, allocations: 0 / 1.514 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001011/1.502, allocations: 0.5422 MB / 1.515 GB, free: 98.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/1.502, allocations: 59.41 kB / 1.515 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/1.502, allocations: 0.7817 MB / 1.516 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/1.502, allocations: 25.7 kB / 1.516 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/1.503, allocations: 378.8 kB / 1.516 GB, free: 97.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/1.503, allocations: 145.9 kB / 1.516 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.503, allocations: 0 / 1.516 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/1.503, allocations: 326 kB / 1.517 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/1.503, allocations: 217.1 kB / 1.517 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/1.503, allocations: 436.1 kB / 1.517 GB, free: 96.06 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/1.504, allocations: 325.2 kB / 1.517 GB, free: 95.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.504, allocations: 0 / 1.517 GB, free: 95.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001013/1.505, allocations: 0.7478 MB / 1.518 GB, free: 94.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002815/1.505, allocations: 2.178 MB / 1.52 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.505, allocations: 4 kB / 1.52 GB, free: 92.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/1.505, allocations: 68.73 kB / 1.52 GB, free: 92.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/1.506, allocations: 107.8 kB / 1.521 GB, free: 92.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003368/1.506, allocations: 0.642 MB / 1.521 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/1.507, allocations: 95.38 kB / 1.521 GB, free: 91.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/1.507, allocations: 31.98 kB / 1.521 GB, free: 91.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/1.507, allocations: 4 kB / 1.521 GB, free: 91.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008391/1.507, allocations: 0.6172 MB / 1.522 GB, free: 91.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.507, allocations: 8 kB / 1.522 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/1.508, allocations: 56.91 kB / 1.522 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.508, allocations: 112.3 kB / 1.522 GB, free: 90.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/1.509, allocations: 1.594 MB / 1.524 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/1.51, allocations: 79.53 kB / 1.524 GB, free: 89.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/1.51, allocations: 35.98 kB / 1.524 GB, free: 89.04 MB / 0.8698 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.0001078/1.51, allocations: 116.8 kB / 1.524 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.51, allocations: 90.88 kB / 1.524 GB, free: 88.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/1.511, allocations: 0.6235 MB / 1.525 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.511, allocations: 4 kB / 1.525 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/1.511, allocations: 0 / 1.525 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006638/1.512, allocations: 0.821 MB / 1.525 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/1.513, allocations: 1.552 MB / 1.527 GB, free: 85.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.513, allocations: 0 / 1.527 GB, free: 85.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.514, allocations: 79.89 kB / 1.527 GB, free: 85.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/1.514, allocations: 36.78 kB / 1.527 GB, free: 85.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.514, allocations: 4 kB / 1.527 GB, free: 85.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002126/1.514, allocations: 0.5719 MB / 1.528 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.514, allocations: 0 / 1.528 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009508/1.515, allocations: 0.991 MB / 1.528 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/1.515, allocations: 251.9 kB / 1.529 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.515, allocations: 7.906 kB / 1.529 GB, free: 83.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/1.516, allocations: 55.88 kB / 1.529 GB, free: 83.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/1.516, allocations: 31.86 kB / 1.529 GB, free: 83.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/1.516, allocations: 23.98 kB / 1.529 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005052/1.516, allocations: 0.6045 MB / 1.529 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001369/1.518, allocations: 0.5688 MB / 1.53 GB, free: 82.34 MB / 0.8698 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.0005441/1.518, allocations: 393.7 kB / 1.53 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.519, allocations: 0.9723 MB / 1.531 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.519, allocations: 0.75 kB / 1.531 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/1.52, allocations: 243.8 kB / 1.532 GB, free: 80.72 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.522, allocations: 0.5033 MB / 1.532 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.524, allocations: 1.649 MB / 1.534 GB, free: 78.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/1.524, allocations: 1.326 MB / 1.535 GB, free: 77.18 MB / 0.8698 GB Notification: Performance of SimCode: time 3.3e-07/1.524, allocations: 0 / 1.535 GB, free: 77.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.02599/1.55, allocations: 21.37 MB / 1.556 GB, free: 55.97 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches