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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009482, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001229/0.001229, allocations: 179 kB / 16.27 MB, free: 6.664 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 462.7 MB / 0.7364 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 9.188 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.306, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02679/0.3328, allocations: 25.48 MB / 1.084 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3444, allocations: 7.09 MB / 1.09 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.346, allocations: 31.81 kB / 1.09 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.3474, allocations: 318.2 kB / 1.091 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.3507, allocations: 1.037 MB / 1.092 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.3532, allocations: 0.853 MB / 1.093 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.3567, allocations: 2.807 MB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/0.3577, allocations: 0.5217 MB / 1.096 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.359, allocations: 0.5872 MB / 1.096 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.36, allocations: 0.5326 MB / 1.097 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3601, allocations: 20 kB / 1.097 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.3619, allocations: 0.7796 MB / 1.098 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.3621, allocations: 131.4 kB / 1.098 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.3626, allocations: 367.9 kB / 1.098 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.3645, allocations: 1.164 MB / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3645, allocations: 0 / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3645, allocations: 3.938 kB / 1.099 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.3645, allocations: 0 / 1.099 GB, free: 11.58 MB / 0.8575 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.00154/0.3661, allocations: 0.919 MB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3661, allocations: 8.031 kB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.3665, allocations: 88.08 kB / 1.1 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3678, allocations: 0.7217 MB / 1.101 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.3679, allocations: 36.88 kB / 1.101 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.368, allocations: 48 kB / 1.101 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.3688, allocations: 0.504 MB / 1.102 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3689, allocations: 0 / 1.102 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.3689, allocations: 16 kB / 1.102 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3689, allocations: 12 kB / 1.102 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.3695, allocations: 323.7 kB / 1.102 GB, free: 8.793 MB / 0.8575 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.003072/0.3726, allocations: 2.744 MB / 1.105 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3729, allocations: 198.5 kB / 1.105 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3731, allocations: 102.8 kB / 1.105 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.3734, allocations: 340.4 kB / 1.105 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3735, allocations: 42.88 kB / 1.105 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.3735, allocations: 4 kB / 1.105 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006006/0.3741, allocations: 296.8 kB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3742, allocations: 59.39 kB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.3748, allocations: 0.5107 MB / 1.106 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3749, allocations: 33.7 kB / 1.106 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.3752, allocations: 347.3 kB / 1.107 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.3753, allocations: 86.91 kB / 1.107 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.3754, allocations: 37.7 kB / 1.107 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3755, allocations: 362.8 kB / 1.107 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3757, allocations: 87.91 kB / 1.107 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.376, allocations: 233.9 kB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3764, allocations: 341.2 kB / 1.108 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3764, allocations: 4 kB / 1.108 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005841/0.377, allocations: 388.3 kB / 1.108 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3771, allocations: 217 kB / 1.108 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3771, allocations: 7.984 kB / 1.108 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3771, allocations: 8 kB / 1.108 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.3774, allocations: 75.91 kB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3774, allocations: 15.88 kB / 1.108 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.3779, allocations: 59.56 kB / 1.108 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.378, allocations: 16 kB / 1.108 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.378, allocations: 4 kB / 1.108 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004643/0.3784, allocations: 315.9 kB / 1.109 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3785, allocations: 4 kB / 1.109 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.3785, allocations: 8 kB / 1.109 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3787, allocations: 71.91 kB / 1.109 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3787, allocations: 7.938 kB / 1.109 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.3791, allocations: 55.69 kB / 1.109 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.3792, allocations: 20 kB / 1.109 GB, free: 1.195 MB / 0.8575 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.0002995/0.3795, allocations: 273 kB / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.3796, allocations: 55.34 kB / 1.109 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.3801, allocations: 285.2 kB / 1.109 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3801, allocations: 4 kB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3801, allocations: 3.938 kB / 1.109 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003399/0.3805, allocations: 377.4 kB / 1.11 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.382, allocations: 1.059 MB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.382, allocations: 4 kB / 1.111 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.3822, allocations: 55.91 kB / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3822, allocations: 0 / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.3822, allocations: 15.94 kB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3822, allocations: 0 / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3822, allocations: 4 kB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.3829, allocations: 0.5204 MB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.3831, allocations: 176.3 kB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.3832, allocations: 11.94 kB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.3836, allocations: 35.81 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3837, allocations: 31.97 kB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.3837, allocations: 11.98 kB / 1.112 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004651/0.3842, allocations: 403.1 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3842, allocations: 0 / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000999/0.3852, allocations: 343.3 kB / 1.112 GB, free: 13.34 MB / 0.8731 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.0006529/0.3858, allocations: 307.2 kB / 1.113 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.3865, allocations: 405.7 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3865, allocations: 0.75 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3867, allocations: 115.8 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.3887, allocations: 372.8 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3906, allocations: 1.359 MB / 1.115 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.3911, allocations: 0.8944 MB / 1.116 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006/0.3917, allocations: 157.1 kB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3918, allocations: 59.42 kB / 1.116 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.3919, allocations: 0 / 1.116 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of Templates: time 0.02283/0.4147, allocations: 12.22 MB / 1.128 GB, free: 13.56 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches