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.001797/0.001796, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.001721/0.001721, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 67.84 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.9875, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.0288/1.016, allocations: 26.28 MB / 1.114 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.028, allocations: 7.122 MB / 1.121 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/1.03, allocations: 38.84 kB / 1.121 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/1.032, allocations: 400.2 kB / 1.122 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004086/1.036, allocations: 1.158 MB / 1.123 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/1.039, allocations: 0.9717 MB / 1.124 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004221/1.043, allocations: 2.094 MB / 1.126 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/1.045, allocations: 0.6223 MB / 1.126 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/1.047, allocations: 0.7438 MB / 1.127 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.049, allocations: 0.5411 MB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/1.049, allocations: 55.5 kB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/1.052, allocations: 0.8094 MB / 1.128 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/1.052, allocations: 169.3 kB / 1.129 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.053, allocations: 384.7 kB / 1.129 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/1.057, allocations: 1.21 MB / 1.13 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.057, allocations: 0 / 1.13 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/1.057, allocations: 3.938 kB / 1.13 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.381e-05/1.057, allocations: 1.312 kB / 1.13 GB, free: 9.211 MB / 0.8887 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.002702/1.059, allocations: 1.057 MB / 1.131 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.059, allocations: 9.75 kB / 1.131 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/1.06, allocations: 87.81 kB / 1.131 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.062, allocations: 0.7346 MB / 1.132 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/1.062, allocations: 35.5 kB / 1.132 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/1.062, allocations: 50.53 kB / 1.132 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/1.063, allocations: 0.5028 MB / 1.133 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.063, allocations: 1.562 kB / 1.133 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/1.063, allocations: 17.59 kB / 1.133 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/1.063, allocations: 16.77 kB / 1.133 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/1.064, allocations: 318.3 kB / 1.133 GB, free: 7.5 MB / 0.8887 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.003514/1.067, allocations: 2.743 MB / 1.136 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/1.067, allocations: 196 kB / 1.136 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/1.068, allocations: 99.2 kB / 1.136 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/1.068, allocations: 343.8 kB / 1.136 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.068, allocations: 42.2 kB / 1.136 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.354e-06/1.068, allocations: 0 / 1.136 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.00076/1.069, allocations: 313.1 kB / 1.137 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.069, allocations: 55.39 kB / 1.137 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/1.07, allocations: 0.5207 MB / 1.137 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/1.07, allocations: 33.25 kB / 1.137 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/1.07, allocations: 343 kB / 1.137 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/1.07, allocations: 81.11 kB / 1.138 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/1.07, allocations: 79.73 kB / 1.138 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.07, allocations: 358.8 kB / 1.138 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/1.071, allocations: 103.8 kB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/1.071, allocations: 230.6 kB / 1.138 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/1.071, allocations: 342.7 kB / 1.139 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.071, allocations: 5.469 kB / 1.139 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007206/1.072, allocations: 391.4 kB / 1.139 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.072, allocations: 6.609 kB / 1.139 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.072, allocations: 5.094 kB / 1.139 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.072, allocations: 5.562 kB / 1.139 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/1.073, allocations: 78.53 kB / 1.139 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/1.073, allocations: 11.53 kB / 1.139 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/1.073, allocations: 47.88 kB / 1.139 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/1.073, allocations: 18.22 kB / 1.139 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003496/1.073, allocations: 247.7 kB / 1.139 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002642/1.074, allocations: 241.7 kB / 1.14 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00041/1.074, allocations: 328.7 kB / 1.14 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/1.074, allocations: 4 kB / 1.14 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006899/1.075, allocations: 382.3 kB / 1.14 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.075, allocations: 6.969 kB / 1.14 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.075, allocations: 7.781 kB / 1.14 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/1.075, allocations: 6.719 kB / 1.14 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/1.075, allocations: 77.12 kB / 1.14 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.075, allocations: 11.47 kB / 1.14 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/1.076, allocations: 34.56 kB / 1.14 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/1.076, allocations: 18.55 kB / 1.14 GB, free: 1.922 MB / 0.8887 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.0001748/1.076, allocations: 205 kB / 1.141 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.076, allocations: 55.3 kB / 1.141 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/1.077, allocations: 289.2 kB / 1.141 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.077, allocations: 10.75 kB / 1.141 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.077, allocations: 0 / 1.141 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004025/1.077, allocations: 379.8 kB / 1.141 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/1.079, allocations: 1.058 MB / 1.142 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.079, allocations: 2.922 kB / 1.142 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.079, allocations: 55.77 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.079, allocations: 3.312 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.079, allocations: 5.062 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/1.079, allocations: 8.922 kB / 1.142 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.079, allocations: 2.5 kB / 1.142 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/1.08, allocations: 0.5247 MB / 1.143 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/1.08, allocations: 171.4 kB / 1.143 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.08, allocations: 16.69 kB / 1.143 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/1.081, allocations: 14.44 kB / 1.143 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/1.081, allocations: 32.56 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/1.081, allocations: 17.89 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006038/1.081, allocations: 412.2 kB / 1.144 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.082, allocations: 1.062 kB / 1.144 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001382/1.083, allocations: 349.6 kB / 1.144 GB, free: 15.7 MB / 0.9044 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.000874/1.084, allocations: 314.1 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008559/1.085, allocations: 399.6 kB / 1.145 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.085, allocations: 5.25 kB / 1.145 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/1.085, allocations: 110.7 kB / 1.145 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/1.087, allocations: 361.5 kB / 1.145 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.089, allocations: 1.109 MB / 1.146 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/1.09, allocations: 0.8931 MB / 1.147 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/1.09, allocations: 63.03 kB / 1.147 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 9.82e-07/1.09, allocations: 0 / 1.147 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.02463/1.114, allocations: 10.91 MB / 1.158 GB, free: 10.62 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches