Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.229/2.229, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001237/0.001237, allocations: 189.2 kB / 487 MB, free: 5.352 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.575/1.575, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.00113/0.00113, allocations: 87.66 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.688e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2719, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9786/1.251, allocations: 411.3 MB / 1.607 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.251, allocations: 89.69 kB / 1.607 GB, free: 11.75 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.076/2.326, allocations: 247.6 MB / 1.849 GB, free: 286.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.409e-05/2.326, allocations: 18.09 kB / 1.849 GB, free: 286.3 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001318/2.328, allocations: 0.8667 MB / 1.85 GB, free: 285.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/2.328, allocations: 13.47 kB / 1.85 GB, free: 285.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/2.328, allocations: 92.36 kB / 1.85 GB, free: 285.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02653/2.355, allocations: 12.46 MB / 1.862 GB, free: 278 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/2.355, allocations: 13.69 kB / 1.862 GB, free: 278 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/2.355, allocations: 30.56 kB / 1.862 GB, free: 278 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005271/2.355, allocations: 269.8 kB / 1.862 GB, free: 277.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/2.356, allocations: 425 kB / 1.863 GB, free: 277.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/2.356, allocations: 6.344 kB / 1.863 GB, free: 277.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/2.356, allocations: 0 / 1.863 GB, free: 277.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/2.356, allocations: 12.25 kB / 1.863 GB, free: 277.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/2.359, allocations: 2.656 MB / 1.865 GB, free: 275.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/2.359, allocations: 128.7 kB / 1.865 GB, free: 275.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/2.359, allocations: 90.38 kB / 1.865 GB, free: 275 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/2.359, allocations: 343.7 kB / 1.866 GB, free: 274.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/2.359, allocations: 41.42 kB / 1.866 GB, free: 274.6 MB / 1.135 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/2.359, allocations: 0 / 1.866 GB, free: 274.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=22): time 0.0005028/2.36, allocations: 234.2 kB / 1.866 GB, free: 274.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/2.36, allocations: 57.86 kB / 1.866 GB, free: 274.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/2.36, allocations: 440.5 kB / 1.867 GB, free: 274.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/2.36, allocations: 26.86 kB / 1.867 GB, free: 274.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/2.36, allocations: 272.5 kB / 1.867 GB, free: 273.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/2.36, allocations: 76.92 kB / 1.867 GB, free: 273.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/2.36, allocations: 0.7812 kB / 1.867 GB, free: 273.8 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001178/2.361, allocations: 359.6 kB / 1.867 GB, free: 273.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/2.361, allocations: 90.3 kB / 1.867 GB, free: 273.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/2.361, allocations: 220.6 kB / 1.868 GB, free: 273.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/2.361, allocations: 132.5 kB / 1.868 GB, free: 273.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/2.361, allocations: 0.8125 kB / 1.868 GB, free: 273.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005317/2.362, allocations: 349.9 kB / 1.868 GB, free: 272.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/2.362, allocations: 1.648 MB / 1.87 GB, free: 271.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/2.362, allocations: 3.438 kB / 1.87 GB, free: 271.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/2.362, allocations: 7.094 kB / 1.87 GB, free: 271.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/2.362, allocations: 84.3 kB / 1.87 GB, free: 271.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/2.362, allocations: 6.25 kB / 1.87 GB, free: 271.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/2.363, allocations: 54.09 kB / 1.87 GB, free: 271.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/2.363, allocations: 18.88 kB / 1.87 GB, free: 271.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/2.363, allocations: 4.656 kB / 1.87 GB, free: 271.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000466/2.363, allocations: 264.3 kB / 1.87 GB, free: 271 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/2.363, allocations: 4.219 kB / 1.87 GB, free: 271 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/2.363, allocations: 7.625 kB / 1.87 GB, free: 271 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/2.364, allocations: 80.12 kB / 1.87 GB, free: 271 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/2.364, allocations: 14.05 kB / 1.87 GB, free: 271 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/2.364, allocations: 39.39 kB / 1.87 GB, free: 270.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/2.364, allocations: 26.86 kB / 1.87 GB, free: 270.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 8.361e-05/2.364, allocations: 125.1 kB / 1.87 GB, free: 270.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/2.364, allocations: 59.02 kB / 1.87 GB, free: 270.8 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/2.365, allocations: 260.6 kB / 1.871 GB, free: 270.6 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/2.365, allocations: 15.23 kB / 1.871 GB, free: 270.6 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/2.365, allocations: 0 / 1.871 GB, free: 270.6 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003364/2.365, allocations: 365.9 kB / 1.871 GB, free: 270.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/2.366, allocations: 0.9527 MB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.366, allocations: 7.812 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/2.367, allocations: 51.67 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/2.367, allocations: 8.172 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/2.367, allocations: 3.656 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/2.367, allocations: 7.438 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/2.367, allocations: 6.922 kB / 1.872 GB, free: 269.5 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006314/2.367, allocations: 0.6044 MB / 1.873 GB, free: 268.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/2.367, allocations: 176.4 kB / 1.873 GB, free: 268.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/2.368, allocations: 3.875 kB / 1.873 GB, free: 268.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/2.368, allocations: 29.72 kB / 1.873 GB, free: 268.8 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/2.368, allocations: 20.55 kB / 1.873 GB, free: 268.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/2.368, allocations: 19.3 kB / 1.873 GB, free: 268.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003837/2.368, allocations: 333.6 kB / 1.873 GB, free: 268.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001225/2.37, allocations: 368.7 kB / 1.873 GB, free: 268.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006835/2.37, allocations: 408.2 kB / 1.874 GB, free: 268.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005976/2.371, allocations: 383.4 kB / 1.874 GB, free: 268.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.371, allocations: 3.844 kB / 1.874 GB, free: 268.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/2.371, allocations: 102.4 kB / 1.874 GB, free: 268.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/2.373, allocations: 320.8 kB / 1.875 GB, free: 267.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/2.374, allocations: 0.8174 MB / 1.875 GB, free: 267.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/2.374, allocations: 0.9745 MB / 1.876 GB, free: 266.5 MB / 1.135 GB Notification: Performance of SimCode: time 7.52e-07/2.374, allocations: 0 / 1.876 GB, free: 266.5 MB / 1.135 GB Notification: Performance of Templates: time 0.01882/2.393, allocations: 12.8 MB / 1.889 GB, free: 254.6 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches