Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 182.7 kB / 326.5 MB, free: 2.23 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.865/1.865, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001135/0.001135, allocations: 96.7 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12.28 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.266, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.327, allocations: 392.5 MB / 1.283 GB, free: 7.082 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.328, allocations: 94.08 kB / 1.284 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/2.335, allocations: 235.1 MB / 1.513 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/2.335, allocations: 4 kB / 1.513 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.689e-05/2.335, allocations: 31.61 kB / 1.513 GB, free: 242.8 MB / 0.8855 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.001749/2.337, allocations: 0.9834 MB / 1.514 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/2.337, allocations: 12.03 kB / 1.514 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/2.337, allocations: 83.11 kB / 1.514 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/2.358, allocations: 11.88 MB / 1.526 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/2.358, allocations: 36.98 kB / 1.526 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/2.358, allocations: 48 kB / 1.526 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/2.359, allocations: 488 kB / 1.526 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/2.359, allocations: 7.875 kB / 1.526 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/2.359, allocations: 24 kB / 1.526 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/2.359, allocations: 12 kB / 1.526 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/2.36, allocations: 307.7 kB / 1.527 GB, free: 228.8 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002257/2.362, allocations: 2.703 MB / 1.529 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/2.362, allocations: 191.8 kB / 1.53 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/2.362, allocations: 336.6 kB / 1.53 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/2.362, allocations: 38.75 kB / 1.53 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 3.457e-06/2.362, allocations: 0 / 1.53 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0004682/2.363, allocations: 300.1 kB / 1.53 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/2.363, allocations: 51.41 kB / 1.53 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/2.363, allocations: 466.2 kB / 1.531 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/2.363, allocations: 37.7 kB / 1.531 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/2.364, allocations: 347.4 kB / 1.531 GB, free: 224 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/2.364, allocations: 74.86 kB / 1.531 GB, free: 224 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/2.364, allocations: 8 kB / 1.531 GB, free: 224 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/2.364, allocations: 362.7 kB / 1.531 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/2.364, allocations: 91.88 kB / 1.532 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/2.364, allocations: 231.5 kB / 1.532 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/2.364, allocations: 130.8 kB / 1.532 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.364, allocations: 0 / 1.532 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004252/2.365, allocations: 388.8 kB / 1.532 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003227/2.365, allocations: 1.659 MB / 1.534 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/2.365, allocations: 4 kB / 1.534 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/2.365, allocations: 7.953 kB / 1.534 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/2.365, allocations: 83.83 kB / 1.534 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/2.365, allocations: 4 kB / 1.534 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/2.366, allocations: 67.5 kB / 1.534 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/2.366, allocations: 20 kB / 1.534 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/2.366, allocations: 4 kB / 1.534 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003406/2.366, allocations: 307.8 kB / 1.534 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/2.366, allocations: 4 kB / 1.534 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/2.366, allocations: 11.94 kB / 1.534 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/2.366, allocations: 75.84 kB / 1.534 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/2.366, allocations: 12.05 kB / 1.534 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/2.367, allocations: 52.05 kB / 1.535 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/2.367, allocations: 23.98 kB / 1.535 GB, free: 220.2 MB / 0.8855 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 () * Number of clocked 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 0.0002141/2.367, allocations: 283.3 kB / 1.535 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/2.367, allocations: 55.34 kB / 1.535 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/2.367, allocations: 281.9 kB / 1.535 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/2.367, allocations: 4 kB / 1.535 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.367, allocations: 0 / 1.535 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002506/2.368, allocations: 381.3 kB / 1.535 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/2.369, allocations: 1.043 MB / 1.537 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/2.369, allocations: 0 / 1.537 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/2.369, allocations: 55.91 kB / 1.537 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.369, allocations: 4 kB / 1.537 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/2.369, allocations: 8 kB / 1.537 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/2.369, allocations: 7.938 kB / 1.537 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.369, allocations: 7.938 kB / 1.537 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/2.37, allocations: 0.6137 MB / 1.537 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/2.37, allocations: 176.3 kB / 1.537 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/2.37, allocations: 12 kB / 1.537 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/2.37, allocations: 27.91 kB / 1.537 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/2.37, allocations: 28 kB / 1.537 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/2.37, allocations: 11.98 kB / 1.537 GB, free: 217 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003466/2.371, allocations: 398.8 kB / 1.538 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/2.371, allocations: 0 / 1.538 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001063/2.372, allocations: 371.3 kB / 1.538 GB, free: 216.2 MB / 0.8855 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 () * Number of clocked 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.0007048/2.372, allocations: 405.3 kB / 1.539 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004936/2.373, allocations: 397.1 kB / 1.539 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/2.373, allocations: 0 / 1.539 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/2.373, allocations: 101.5 kB / 1.539 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/2.374, allocations: 372.9 kB / 1.539 GB, free: 215 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/2.376, allocations: 1.352 MB / 1.541 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/2.376, allocations: 0.9061 MB / 1.542 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004897/2.377, allocations: 161 kB / 1.542 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/2.377, allocations: 55.42 kB / 1.542 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/2.377, allocations: 0 / 1.542 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01871/2.396, allocations: 13.08 MB / 1.555 GB, free: 199.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches