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.006468/0.006468, allocations: 99.95 kB / 15.73 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.001639/0.00164, allocations: 191 kB / 16.67 MB, free: 6.379 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03965/0.3343, allocations: 26.28 MB / 1.114 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3482, allocations: 7.127 MB / 1.121 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.35, allocations: 31.81 kB / 1.121 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.3514, allocations: 389.4 kB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.3549, allocations: 1.105 MB / 1.122 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3576, allocations: 0.9671 MB / 1.123 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.3603, allocations: 2.087 MB / 1.125 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.3612, allocations: 0.6213 MB / 1.126 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.3627, allocations: 0.7316 MB / 1.126 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.3634, allocations: 0.5366 MB / 1.127 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.3635, allocations: 56 kB / 1.127 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3652, allocations: 0.8071 MB / 1.128 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.3654, allocations: 175.4 kB / 1.128 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3658, allocations: 382.1 kB / 1.128 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.3674, allocations: 1.211 MB / 1.129 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3674, allocations: 0 / 1.129 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3674, allocations: 0 / 1.129 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3674, allocations: 0 / 1.129 GB, free: 6.883 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.001478/0.3689, allocations: 1.063 MB / 1.13 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.369, allocations: 12.03 kB / 1.13 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.3693, allocations: 84 kB / 1.131 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3705, allocations: 0.7373 MB / 1.131 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.3705, allocations: 36.88 kB / 1.131 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.3706, allocations: 51.91 kB / 1.131 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.3714, allocations: 0.5001 MB / 1.132 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3714, allocations: 0 / 1.132 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.3715, allocations: 16 kB / 1.132 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.3715, allocations: 16 kB / 1.132 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.3721, allocations: 323.6 kB / 1.132 GB, free: 3.93 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.002823/0.3749, allocations: 2.748 MB / 1.135 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3752, allocations: 198.4 kB / 1.135 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3754, allocations: 96.81 kB / 1.135 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.3757, allocations: 344.5 kB / 1.135 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.3757, allocations: 38.88 kB / 1.136 GB, free: 188 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.3757, allocations: 4 kB / 1.136 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.0005952/0.3763, allocations: 306.1 kB / 1.136 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3764, allocations: 55.41 kB / 1.136 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.377, allocations: 0.5302 MB / 1.136 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3771, allocations: 29.7 kB / 1.136 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3773, allocations: 343.3 kB / 1.137 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.3774, allocations: 86.83 kB / 1.137 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3775, allocations: 77.59 kB / 1.137 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3777, allocations: 362.8 kB / 1.137 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3778, allocations: 96.81 kB / 1.137 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.3781, allocations: 236.7 kB / 1.138 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.3785, allocations: 336.6 kB / 1.138 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3785, allocations: 0 / 1.138 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005761/0.3791, allocations: 389.6 kB / 1.138 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3791, allocations: 8 kB / 1.138 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.3791, allocations: 4 kB / 1.138 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3792, allocations: 8.562 kB / 1.138 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3794, allocations: 79.84 kB / 1.138 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.3795, allocations: 7.984 kB / 1.138 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3798, allocations: 43.59 kB / 1.138 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3799, allocations: 27.98 kB / 1.138 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003052/0.3802, allocations: 247.2 kB / 1.139 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002706/0.3805, allocations: 238.6 kB / 1.139 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003851/0.3808, allocations: 324 kB / 1.139 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.3809, allocations: 15.88 kB / 1.139 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000548/0.3814, allocations: 380.5 kB / 1.14 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3814, allocations: 8 kB / 1.14 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3815, allocations: 12.02 kB / 1.14 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.3815, allocations: 8 kB / 1.14 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3817, allocations: 75.84 kB / 1.14 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3817, allocations: 11.92 kB / 1.14 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.382, allocations: 39.62 kB / 1.14 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3821, allocations: 23.98 kB / 1.14 GB, free: 11.54 MB / 0.9044 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.0001294/0.3822, allocations: 196.2 kB / 1.14 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3823, allocations: 59.34 kB / 1.14 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.3828, allocations: 279.9 kB / 1.14 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3828, allocations: 7.938 kB / 1.14 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3828, allocations: 0 / 1.14 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000372/0.3832, allocations: 381.4 kB / 1.141 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3847, allocations: 1.055 MB / 1.142 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3847, allocations: 4 kB / 1.142 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.3849, allocations: 55.91 kB / 1.142 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3849, allocations: 4 kB / 1.142 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.3849, allocations: 4.281 kB / 1.142 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.385, allocations: 8 kB / 1.142 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.385, allocations: 4 kB / 1.142 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.3856, allocations: 0.5221 MB / 1.142 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.3858, allocations: 168.3 kB / 1.142 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.3859, allocations: 8 kB / 1.142 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.3862, allocations: 15.98 kB / 1.142 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3863, allocations: 27.92 kB / 1.142 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.3863, allocations: 15.98 kB / 1.142 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004591/0.3868, allocations: 411.1 kB / 1.143 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3868, allocations: 0 / 1.143 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000986/0.3878, allocations: 355.3 kB / 1.143 GB, free: 7.762 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.0006652/0.3884, allocations: 313.6 kB / 1.143 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.3891, allocations: 408.6 kB / 1.144 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3891, allocations: 0 / 1.144 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3892, allocations: 107.8 kB / 1.144 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.3909, allocations: 367.9 kB / 1.144 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3924, allocations: 1.084 MB / 1.145 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3928, allocations: 0.8941 MB / 1.146 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000443/0.3933, allocations: 161 kB / 1.146 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3934, allocations: 59.42 kB / 1.146 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.3934, allocations: 0 / 1.146 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of Templates: time 0.02335/0.4168, allocations: 12.99 MB / 1.159 GB, free: 7.527 MB / 0.92 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