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.001128/0.001128, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01067/0.01067, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.563/2.563, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7073, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02532/0.7327, allocations: 25.47 MB / 0.9799 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.7438, allocations: 7.089 MB / 0.9868 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.7451, allocations: 34.06 kB / 0.9869 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.7462, allocations: 318.3 kB / 0.9872 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.7496, allocations: 1.038 MB / 0.9882 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.7521, allocations: 0.857 MB / 0.989 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.7556, allocations: 2.798 MB / 0.9918 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.7565, allocations: 0.5079 MB / 0.9923 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.7575, allocations: 0.5988 MB / 0.9928 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007369/0.7583, allocations: 0.5287 MB / 0.9934 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.7583, allocations: 24 kB / 0.9934 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.76, allocations: 0.7757 MB / 0.9941 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.7602, allocations: 135.4 kB / 0.9943 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.7606, allocations: 363.9 kB / 0.9946 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.762, allocations: 1.156 MB / 0.9957 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.762, allocations: 0 / 0.9957 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/0.762, allocations: 8 kB / 0.9957 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.762, allocations: 0 / 0.9957 GB, free: 5.508 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.001324/0.7634, allocations: 0.9112 MB / 0.9966 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7634, allocations: 12.03 kB / 0.9966 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.7637, allocations: 87.98 kB / 0.9967 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.7648, allocations: 0.7372 MB / 0.9975 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.7649, allocations: 36.94 kB / 0.9975 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.765, allocations: 44 kB / 0.9975 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.7658, allocations: 0.4962 MB / 0.998 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.7658, allocations: 3.984 kB / 0.998 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.7658, allocations: 24 kB / 0.998 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.7659, allocations: 15.94 kB / 0.9981 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.7664, allocations: 315.7 kB / 0.9984 GB, free: 2.711 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.002707/0.7691, allocations: 2.752 MB / 1.001 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7694, allocations: 198.5 kB / 1.001 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.7696, allocations: 100.8 kB / 1.001 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.7699, allocations: 336.4 kB / 1.002 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.7699, allocations: 46.86 kB / 1.002 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.77, allocations: 0 / 1.002 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.0005465/0.7705, allocations: 299.9 kB / 1.002 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7706, allocations: 55.41 kB / 1.002 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.7712, allocations: 0.5186 MB / 1.003 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.7712, allocations: 29.7 kB / 1.003 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.7714, allocations: 343.4 kB / 1.003 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.7715, allocations: 86.83 kB / 1.003 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.7716, allocations: 37.64 kB / 1.003 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7717, allocations: 358.8 kB / 1.003 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7719, allocations: 95.91 kB / 1.003 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.7721, allocations: 233.9 kB / 1.004 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.7726, allocations: 337.9 kB / 1.004 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7726, allocations: 0 / 1.004 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005769/0.7732, allocations: 394.5 kB / 1.004 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.7733, allocations: 214 kB / 1.005 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7733, allocations: 4 kB / 1.005 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.7733, allocations: 8 kB / 1.005 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7736, allocations: 79.84 kB / 1.005 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7736, allocations: 7.938 kB / 1.005 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.7741, allocations: 59.56 kB / 1.005 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.7741, allocations: 20 kB / 1.005 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-06/0.7741, allocations: 4 kB / 1.005 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000455/0.7746, allocations: 308 kB / 1.005 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7746, allocations: 4 kB / 1.005 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.7746, allocations: 12.56 kB / 1.005 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.7749, allocations: 87.83 kB / 1.005 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7749, allocations: 8 kB / 1.005 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.7752, allocations: 43.67 kB / 1.005 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.7753, allocations: 19.98 kB / 1.005 GB, free: 11.11 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.0002775/0.7756, allocations: 288.9 kB / 1.005 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.7757, allocations: 55.34 kB / 1.006 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.7762, allocations: 280 kB / 1.006 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.7762, allocations: 0 / 1.006 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7762, allocations: 0 / 1.006 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003678/0.7766, allocations: 383.2 kB / 1.006 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.778, allocations: 1.051 MB / 1.007 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7781, allocations: 4 kB / 1.007 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.7783, allocations: 60.19 kB / 1.007 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7783, allocations: 4 kB / 1.007 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.7783, allocations: 11.94 kB / 1.007 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.7783, allocations: 7.938 kB / 1.007 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7783, allocations: 4 kB / 1.007 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.7789, allocations: 0.5201 MB / 1.008 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.7792, allocations: 188.2 kB / 1.008 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.7793, allocations: 7.938 kB / 1.008 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.7797, allocations: 32.03 kB / 1.008 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.7797, allocations: 27.94 kB / 1.008 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.7798, allocations: 16 kB / 1.008 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004611/0.7802, allocations: 403.1 kB / 1.008 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7802, allocations: 3.938 kB / 1.008 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001094/0.7813, allocations: 347.2 kB / 1.009 GB, free: 7.234 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.0006607/0.782, allocations: 293.3 kB / 1.009 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.7827, allocations: 413.4 kB / 1.009 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7827, allocations: 0 / 1.009 GB, free: 6.547 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7828, allocations: 104.4 kB / 1.01 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.7851, allocations: 372 kB / 1.01 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.787, allocations: 1.359 MB / 1.011 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.7875, allocations: 0.8982 MB / 1.012 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006489/0.7882, allocations: 168 kB / 1.012 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7883, allocations: 51.42 kB / 1.012 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of SimCode: time 7.51e-07/0.7883, allocations: 0 / 1.012 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of Templates: time 0.02192/0.8102, allocations: 12.21 MB / 1.024 GB, free: 7.5 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