Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001063/0.001063, allocations: 184.6 kB / 0.4902 GB, free: 2.297 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.509/1.509, allocations: 223.2 MB / 0.7992 GB, free: 15.66 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.001252/0.001252, allocations: 106.1 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 14.17 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3599, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.573, allocations: 412.9 MB / 1.632 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.574, allocations: 91.05 kB / 1.633 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.252/2.825, allocations: 248.4 MB / 1.875 GB, free: 354.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.753e-06/2.825, allocations: 0 / 1.875 GB, free: 354.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001316/2.825, allocations: 20.22 kB / 1.875 GB, free: 354.6 MB / 1.167 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.002771/2.828, allocations: 0.9976 MB / 1.876 GB, free: 354.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/2.828, allocations: 8.625 kB / 1.876 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/2.829, allocations: 88.92 kB / 1.876 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03149/2.86, allocations: 12.49 MB / 1.888 GB, free: 353.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.209e-05/2.86, allocations: 35.62 kB / 1.888 GB, free: 353.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/2.861, allocations: 49.66 kB / 1.889 GB, free: 353.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/2.862, allocations: 487.8 kB / 1.889 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/2.862, allocations: 6.562 kB / 1.889 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/2.862, allocations: 24.34 kB / 1.889 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/2.862, allocations: 15.94 kB / 1.889 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/2.863, allocations: 298.8 kB / 1.889 GB, free: 353.3 MB / 1.167 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.00416/2.867, allocations: 2.719 MB / 1.892 GB, free: 351.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/2.867, allocations: 181.9 kB / 1.892 GB, free: 351.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/2.868, allocations: 343 kB / 1.892 GB, free: 351.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/2.868, allocations: 36.56 kB / 1.892 GB, free: 351.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=22): time 4.128e-06/2.868, allocations: 0 / 1.892 GB, free: 351.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=22): time 0.0007602/2.869, allocations: 303.9 kB / 1.893 GB, free: 351 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/2.869, allocations: 57.81 kB / 1.893 GB, free: 350.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/2.869, allocations: 479.7 kB / 1.893 GB, free: 350.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/2.869, allocations: 29.39 kB / 1.893 GB, free: 350.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/2.87, allocations: 351.9 kB / 1.894 GB, free: 350.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/2.87, allocations: 76.69 kB / 1.894 GB, free: 350.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/2.87, allocations: 10.84 kB / 1.894 GB, free: 350.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001217/2.87, allocations: 369.6 kB / 1.894 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/2.87, allocations: 80.92 kB / 1.894 GB, free: 350.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/2.87, allocations: 241.3 kB / 1.894 GB, free: 350.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/2.87, allocations: 127.9 kB / 1.895 GB, free: 350.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.87, allocations: 0 / 1.895 GB, free: 350.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006342/2.871, allocations: 388.8 kB / 1.895 GB, free: 350 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004329/2.872, allocations: 1.66 MB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/2.872, allocations: 3.844 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/2.872, allocations: 7.938 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/2.872, allocations: 83.41 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/2.872, allocations: 4.969 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/2.873, allocations: 60.91 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/2.873, allocations: 19.25 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/2.873, allocations: 4.875 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004435/2.873, allocations: 312.1 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/2.873, allocations: 5.938 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/2.873, allocations: 13.94 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/2.873, allocations: 78.08 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/2.873, allocations: 11.09 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/2.874, allocations: 56.23 kB / 1.897 GB, free: 348.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/2.874, allocations: 18.7 kB / 1.897 GB, free: 348.3 MB / 1.167 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.0003342/2.874, allocations: 278.6 kB / 1.897 GB, free: 348.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.874, allocations: 61.78 kB / 1.897 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/2.875, allocations: 278.7 kB / 1.898 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/2.875, allocations: 3.844 kB / 1.898 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.875, allocations: 3.969 kB / 1.898 GB, free: 348 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002825/2.875, allocations: 379.7 kB / 1.898 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/2.877, allocations: 1.054 MB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.877, allocations: 3.875 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/2.877, allocations: 53.12 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/2.877, allocations: 3.906 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/2.877, allocations: 11.69 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/2.877, allocations: 10.88 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/2.877, allocations: 3.953 kB / 1.899 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/2.878, allocations: 0.6107 MB / 1.9 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/2.878, allocations: 186 kB / 1.9 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/2.878, allocations: 10.47 kB / 1.9 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/2.879, allocations: 26.84 kB / 1.9 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/2.879, allocations: 28.67 kB / 1.9 GB, free: 346.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/2.879, allocations: 18.77 kB / 1.9 GB, free: 346.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004586/2.879, allocations: 410.3 kB / 1.9 GB, free: 346.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/2.879, allocations: 0 / 1.9 GB, free: 346.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001299/2.881, allocations: 381 kB / 1.901 GB, free: 346.6 MB / 1.167 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.0008963/2.882, allocations: 406.2 kB / 1.901 GB, free: 346.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006248/2.882, allocations: 385.2 kB / 1.902 GB, free: 346.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.882, allocations: 6.5 kB / 1.902 GB, free: 346.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/2.882, allocations: 110.1 kB / 1.902 GB, free: 346.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/2.884, allocations: 369.6 kB / 1.902 GB, free: 346.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/2.886, allocations: 1.361 MB / 1.903 GB, free: 345.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/2.886, allocations: 0.9111 MB / 1.904 GB, free: 345 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006183/2.887, allocations: 158 kB / 1.904 GB, free: 345 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/2.887, allocations: 64.92 kB / 1.904 GB, free: 345 MB / 1.167 GB Notification: Performance of SimCode: time 4.5e-07/2.887, allocations: 0 / 1.904 GB, free: 345 MB / 1.167 GB Notification: Performance of Templates: time 0.02165/2.909, allocations: 13.21 MB / 1.917 GB, free: 344.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches