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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001045/0.001045, allocations: 191.6 kB / 487.4 MB, free: 5.047 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.367/1.367, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.000777/0.0007767, allocations: 98.3 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.727e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9509/1.169, allocations: 411.4 MB / 1.608 GB, free: 11.11 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/1.17, allocations: 88.83 kB / 1.608 GB, free: 11.07 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.042/2.212, allocations: 246.4 MB / 1.848 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/2.212, allocations: 0 / 1.848 GB, free: 357.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.764e-05/2.212, allocations: 19.61 kB / 1.848 GB, free: 357.9 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.001487/2.213, allocations: 0.8792 MB / 1.849 GB, free: 357.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/2.213, allocations: 8.25 kB / 1.849 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/2.214, allocations: 87.14 kB / 1.849 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/2.235, allocations: 12.39 MB / 1.862 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/2.235, allocations: 14.12 kB / 1.862 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/2.236, allocations: 26.59 kB / 1.862 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005366/2.236, allocations: 266.7 kB / 1.862 GB, free: 349.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/2.237, allocations: 426.2 kB / 1.862 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/2.237, allocations: 3.969 kB / 1.862 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/2.237, allocations: 0 / 1.862 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/2.237, allocations: 11.28 kB / 1.862 GB, free: 349.3 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.002408/2.239, allocations: 2.637 MB / 1.865 GB, free: 346.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/2.239, allocations: 170.8 kB / 1.865 GB, free: 346.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/2.24, allocations: 94.16 kB / 1.865 GB, free: 346.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/2.24, allocations: 340.6 kB / 1.865 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/2.24, allocations: 34.75 kB / 1.865 GB, free: 345.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/2.24, allocations: 0 / 1.865 GB, free: 345.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=22): time 0.000505/2.24, allocations: 233 kB / 1.866 GB, free: 345.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/2.24, allocations: 51.41 kB / 1.866 GB, free: 345.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/2.241, allocations: 434.3 kB / 1.866 GB, free: 345.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/2.241, allocations: 37.64 kB / 1.866 GB, free: 345 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/2.241, allocations: 351.2 kB / 1.867 GB, free: 344.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/2.241, allocations: 70.91 kB / 1.867 GB, free: 344.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/2.241, allocations: 0 / 1.867 GB, free: 344.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/2.241, allocations: 366.7 kB / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/2.241, allocations: 75.98 kB / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/2.241, allocations: 218.9 kB / 1.867 GB, free: 343.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/2.242, allocations: 121 kB / 1.867 GB, free: 343.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.242, allocations: 4 kB / 1.867 GB, free: 343.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004675/2.242, allocations: 345.8 kB / 1.868 GB, free: 343.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/2.242, allocations: 1.668 MB / 1.869 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/2.242, allocations: 4 kB / 1.869 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/2.242, allocations: 11.94 kB / 1.869 GB, free: 341.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/2.243, allocations: 75.91 kB / 1.869 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/2.243, allocations: 7.938 kB / 1.869 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/2.243, allocations: 67.39 kB / 1.869 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/2.243, allocations: 16 kB / 1.869 GB, free: 341.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/2.243, allocations: 4.781 kB / 1.869 GB, free: 341.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003779/2.244, allocations: 263.9 kB / 1.87 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/2.244, allocations: 4 kB / 1.87 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/2.244, allocations: 7.984 kB / 1.87 GB, free: 341.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/2.244, allocations: 83.84 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/2.244, allocations: 4 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/2.244, allocations: 44.09 kB / 1.87 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/2.244, allocations: 19.94 kB / 1.87 GB, free: 341 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 (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.294e-05/2.244, allocations: 114 kB / 1.87 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/2.244, allocations: 59.2 kB / 1.87 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/2.245, allocations: 254.9 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/2.245, allocations: 8 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.245, allocations: 3.938 kB / 1.87 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002714/2.245, allocations: 363 kB / 1.871 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/2.246, allocations: 0.9538 MB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/2.246, allocations: 3.938 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/2.246, allocations: 55.84 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/2.246, allocations: 4 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/2.246, allocations: 4 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/2.247, allocations: 4 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/2.247, allocations: 8.266 kB / 1.872 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/2.247, allocations: 0.5959 MB / 1.872 GB, free: 338.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/2.247, allocations: 176.2 kB / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/2.247, allocations: 7.984 kB / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/2.248, allocations: 19.92 kB / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/2.248, allocations: 27.97 kB / 1.872 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/2.248, allocations: 12 kB / 1.872 GB, free: 338.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000289/2.248, allocations: 338.9 kB / 1.873 GB, free: 337.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/2.248, allocations: 0 / 1.873 GB, free: 337.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001072/2.249, allocations: 371 kB / 1.873 GB, free: 337.4 MB / 1.151 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.0007226/2.25, allocations: 391.2 kB / 1.874 GB, free: 337.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000463/2.25, allocations: 380.5 kB / 1.874 GB, free: 336.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.25, allocations: 4.062 kB / 1.874 GB, free: 336.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/2.25, allocations: 98.09 kB / 1.874 GB, free: 336.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/2.252, allocations: 326.6 kB / 1.874 GB, free: 336.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/2.253, allocations: 0.8082 MB / 1.875 GB, free: 335.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/2.253, allocations: 0.9105 MB / 1.876 GB, free: 334.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006771/2.254, allocations: 172.8 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/2.254, allocations: 51.36 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/2.254, allocations: 0 / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01677/2.271, allocations: 11.96 MB / 1.888 GB, free: 322.5 MB / 1.151 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