Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.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.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001444/0.001444, allocations: 171.7 kB / 492.3 MB, free: 0.6367 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.674/1.674, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0008488/0.0008484, allocations: 103.9 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.577e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.628, allocations: 469.8 MB / 1.671 GB, free: 9.582 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.629, allocations: 91.03 kB / 1.671 GB, free: 9.535 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.532/3.16, allocations: 0.5012 GB / 2.173 GB, free: 29.83 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/3.16, allocations: 0 / 2.173 GB, free: 29.83 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.84e-05/3.161, allocations: 16 kB / 2.173 GB, free: 29.82 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003911/3.164, allocations: 1.137 MB / 2.174 GB, free: 28.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/3.165, allocations: 16.03 kB / 2.174 GB, free: 28.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/3.165, allocations: 87.05 kB / 2.174 GB, free: 28.53 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8348/4, allocations: 41.74 MB / 2.215 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/4, allocations: 32.56 kB / 2.215 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/4, allocations: 45.59 kB / 2.215 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/4.001, allocations: 492.7 kB / 2.215 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/4.001, allocations: 1.844 kB / 2.215 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/4.001, allocations: 19.78 kB / 2.215 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/4.001, allocations: 17 kB / 2.215 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/4.001, allocations: 290.9 kB / 2.215 GB, free: 289.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/4.004, allocations: 2.714 MB / 2.218 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/4.004, allocations: 182.3 kB / 2.218 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/4.005, allocations: 92.61 kB / 2.218 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/4.005, allocations: 343.8 kB / 2.219 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/4.005, allocations: 36.94 kB / 2.219 GB, free: 287.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/4.005, allocations: 1.875 kB / 2.219 GB, free: 287.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004446/4.005, allocations: 230.9 kB / 2.219 GB, free: 287.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/4.005, allocations: 61.44 kB / 2.219 GB, free: 287.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/4.006, allocations: 470.7 kB / 2.219 GB, free: 287 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/4.006, allocations: 33.55 kB / 2.219 GB, free: 286.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/4.006, allocations: 351.6 kB / 2.22 GB, free: 286.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/4.006, allocations: 79.7 kB / 2.22 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/4.006, allocations: 8 kB / 2.22 GB, free: 286.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/4.006, allocations: 363.2 kB / 2.22 GB, free: 286.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/4.006, allocations: 80.27 kB / 2.22 GB, free: 286.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/4.007, allocations: 228.6 kB / 2.22 GB, free: 286.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/4.007, allocations: 128.4 kB / 2.221 GB, free: 286.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/4.007, allocations: 1.438 kB / 2.221 GB, free: 286.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006048/4.008, allocations: 376.3 kB / 2.221 GB, free: 286.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/4.008, allocations: 1.654 MB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/4.008, allocations: 5.094 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/4.008, allocations: 13.08 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/4.008, allocations: 76.62 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/4.008, allocations: 6.625 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/4.009, allocations: 61.36 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/4.009, allocations: 24.17 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/4.009, allocations: 3.156 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004076/4.009, allocations: 298.4 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/4.009, allocations: 4.219 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/4.009, allocations: 7 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/4.009, allocations: 76.62 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/4.009, allocations: 12.2 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/4.01, allocations: 48.45 kB / 2.223 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/4.01, allocations: 22.64 kB / 2.223 GB, free: 284.5 MB / 1.151 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 (43): * Single equations (assignments): 43 * 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.768e-05/4.01, allocations: 129.6 kB / 2.223 GB, free: 284.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/4.01, allocations: 60.12 kB / 2.223 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/4.01, allocations: 263.5 kB / 2.224 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/4.01, allocations: 3.875 kB / 2.224 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/4.01, allocations: 0 / 2.224 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002779/4.011, allocations: 374.8 kB / 2.224 GB, free: 284 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/4.012, allocations: 1.027 MB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/4.012, allocations: 2.281 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/4.012, allocations: 55.61 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/4.012, allocations: 3.531 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/4.012, allocations: 11.14 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/4.012, allocations: 3.406 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/4.012, allocations: 3.375 kB / 2.225 GB, free: 283.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/4.013, allocations: 0.5826 MB / 2.226 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/4.013, allocations: 189.4 kB / 2.226 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/4.013, allocations: 12.91 kB / 2.226 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/4.014, allocations: 32.17 kB / 2.226 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/4.014, allocations: 18.3 kB / 2.226 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/4.014, allocations: 18.95 kB / 2.226 GB, free: 283.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004662/4.014, allocations: 408.5 kB / 2.226 GB, free: 283 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.014, allocations: 3.062 kB / 2.226 GB, free: 283 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001364/4.015, allocations: 377.8 kB / 2.227 GB, free: 283 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 23 * 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.0008561/4.016, allocations: 442.4 kB / 2.227 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006892/4.017, allocations: 406 kB / 2.227 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/4.017, allocations: 0.6875 kB / 2.227 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/4.017, allocations: 97.38 kB / 2.228 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/4.019, allocations: 381.1 kB / 2.228 GB, free: 282.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/4.02, allocations: 0.823 MB / 2.229 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/4.021, allocations: 0.9142 MB / 2.23 GB, free: 281.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007824/4.022, allocations: 192.5 kB / 2.23 GB, free: 281.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/4.022, allocations: 48.58 kB / 2.23 GB, free: 281.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/4.022, allocations: 0 / 2.23 GB, free: 281.8 MB / 1.151 GB Notification: Performance of Templates: time 0.02583/4.047, allocations: 15.15 MB / 2.245 GB, free: 281.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches