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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 196.6 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6917, allocations: 140.4 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02602/0.7178, allocations: 26.15 MB / 0.9744 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.7303, allocations: 7.183 MB / 0.9815 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.7329, allocations: 31.44 kB / 0.9815 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.7348, allocations: 327.7 kB / 0.9818 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.7394, allocations: 1.027 MB / 0.9828 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.7428, allocations: 0.8588 MB / 0.9836 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004731/0.7476, allocations: 2.796 MB / 0.9864 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.749, allocations: 0.5245 MB / 0.9869 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.7511, allocations: 0.6151 MB / 0.9875 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.7525, allocations: 0.5456 MB / 0.988 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.7528, allocations: 28 kB / 0.988 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.7551, allocations: 0.7913 MB / 0.9888 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.7555, allocations: 143.4 kB / 0.989 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.7564, allocations: 350.2 kB / 0.9893 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.7591, allocations: 1.184 MB / 0.9904 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.7591, allocations: 4 kB / 0.9905 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7592, allocations: 0 / 0.9905 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.534e-05/0.7592, allocations: 0 / 0.9905 GB, free: 7.48 MB / 0.7481 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.002288/0.7615, allocations: 1.051 MB / 0.9915 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.7616, allocations: 8.031 kB / 0.9915 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.762, allocations: 88.03 kB / 0.9916 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.7636, allocations: 0.7295 MB / 0.9923 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.7636, allocations: 40.92 kB / 0.9923 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.7637, allocations: 44 kB / 0.9924 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.7647, allocations: 0.5039 MB / 0.9929 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7647, allocations: 0 / 0.9929 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.7648, allocations: 20 kB / 0.9929 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.7648, allocations: 12 kB / 0.9929 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.7654, allocations: 323.7 kB / 0.9932 GB, free: 4.543 MB / 0.7481 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.003455/0.7689, allocations: 2.74 MB / 0.9959 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.7693, allocations: 199.7 kB / 0.9961 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.7694, allocations: 100.8 kB / 0.9962 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.7698, allocations: 344.5 kB / 0.9965 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.7699, allocations: 34.88 kB / 0.9965 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.7699, allocations: 0 / 0.9965 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0007258/0.7706, allocations: 310.7 kB / 0.9968 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.7707, allocations: 59.41 kB / 0.9969 GB, free: 436 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.7714, allocations: 0.5108 MB / 0.9974 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.7714, allocations: 29.7 kB / 0.9974 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.7717, allocations: 343.3 kB / 0.9977 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.7719, allocations: 86.83 kB / 0.9978 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.772, allocations: 81.59 kB / 0.9979 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7722, allocations: 358.8 kB / 0.9982 GB, free: 15 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.7723, allocations: 108.7 kB / 0.9983 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.7726, allocations: 233.9 kB / 0.9986 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.7731, allocations: 337.9 kB / 0.9989 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7731, allocations: 0 / 0.9989 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006608/0.7738, allocations: 390.5 kB / 0.9992 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7738, allocations: 8 kB / 0.9993 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7738, allocations: 4 kB / 0.9993 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7738, allocations: 8 kB / 0.9993 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.7741, allocations: 75.89 kB / 0.9993 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.7741, allocations: 11.98 kB / 0.9994 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.7746, allocations: 60.09 kB / 0.9994 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.7746, allocations: 23.98 kB / 0.9994 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.775, allocations: 240 kB / 0.9997 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002608/0.7752, allocations: 242.5 kB / 0.9999 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004317/0.7757, allocations: 337.8 kB / 1 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.7757, allocations: 0 / 1 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005607/0.7762, allocations: 392.1 kB / 1.001 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.7763, allocations: 8 kB / 1.001 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7763, allocations: 4 kB / 1.001 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.7763, allocations: 4 kB / 1.001 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.7765, allocations: 75.84 kB / 1.001 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7765, allocations: 15.92 kB / 1.001 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.7769, allocations: 47.95 kB / 1.001 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.777, allocations: 20 kB / 1.001 GB, free: 12.15 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.7771, allocations: 204.1 kB / 1.001 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.7772, allocations: 55.34 kB / 1.001 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.7778, allocations: 278.6 kB / 1.001 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7778, allocations: 11.88 kB / 1.001 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7778, allocations: 0 / 1.001 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003679/0.7782, allocations: 383.2 kB / 1.002 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.7797, allocations: 1.054 MB / 1.003 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7798, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.78, allocations: 55.91 kB / 1.003 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.78, allocations: 4 kB / 1.003 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.78, allocations: 8 kB / 1.003 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.78, allocations: 4 kB / 1.003 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.78, allocations: 3.938 kB / 1.003 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.7807, allocations: 0.53 MB / 1.003 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.7809, allocations: 168.3 kB / 1.003 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.781, allocations: 15.98 kB / 1.003 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.7814, allocations: 31.95 kB / 1.003 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.7814, allocations: 23.84 kB / 1.003 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.7815, allocations: 19.98 kB / 1.004 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004655/0.7819, allocations: 399.1 kB / 1.004 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7819, allocations: 0 / 1.004 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001056/0.783, allocations: 343.3 kB / 1.004 GB, free: 8.363 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000735/0.7837, allocations: 310 kB / 1.005 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006865/0.7844, allocations: 400.7 kB / 1.005 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7845, allocations: 0 / 1.005 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.7846, allocations: 110.2 kB / 1.005 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.7864, allocations: 371.2 kB / 1.005 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.7885, allocations: 1.309 MB / 1.007 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.7891, allocations: 0.8983 MB / 1.008 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006102/0.7897, allocations: 163.9 kB / 1.008 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.7898, allocations: 55.42 kB / 1.008 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.7899, allocations: 0 / 1.008 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of Templates: time 0.02268/0.8125, allocations: 12.25 MB / 1.02 GB, free: 8.637 MB / 0.7794 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches