Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001299/0.001299, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001216/0.001216, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 64.09 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3221, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03321/0.3554, allocations: 26.29 MB / 1.044 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3672, allocations: 7.14 MB / 1.051 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.369, allocations: 35.81 kB / 1.051 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3707, allocations: 385.5 kB / 1.051 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.375, allocations: 1.109 MB / 1.052 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.3782, allocations: 0.9533 MB / 1.053 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.3817, allocations: 2.081 MB / 1.055 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.383, allocations: 0.6257 MB / 1.056 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.3853, allocations: 0.7013 MB / 1.056 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.3865, allocations: 0.5444 MB / 1.057 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.3867, allocations: 56 kB / 1.057 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3889, allocations: 0.8071 MB / 1.058 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.3892, allocations: 175.4 kB / 1.058 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006616/0.3899, allocations: 386.1 kB / 1.058 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.3923, allocations: 1.192 MB / 1.059 GB, free: 4 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3923, allocations: 4 kB / 1.059 GB, free: 0 / 0.8262 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3923, allocations: 0 / 1.059 GB, free: 0 / 0.8262 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.3924, allocations: 0 / 1.059 GB, free: 0 / 0.8262 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.002121/0.3945, allocations: 1.051 MB / 1.06 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3945, allocations: 8.031 kB / 1.06 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.3949, allocations: 84 kB / 1.061 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.3963, allocations: 0.6984 MB / 1.061 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.3963, allocations: 36.94 kB / 1.061 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.3964, allocations: 51.94 kB / 1.061 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.3972, allocations: 0.4962 MB / 1.062 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3973, allocations: 3.906 kB / 1.062 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.3973, allocations: 20 kB / 1.062 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.3974, allocations: 23.94 kB / 1.062 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.3979, allocations: 319.7 kB / 1.062 GB, free: 13.09 MB / 0.8419 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.003129/0.4011, allocations: 2.764 MB / 1.065 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.4014, allocations: 198.5 kB / 1.065 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4016, allocations: 102.1 kB / 1.065 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.4019, allocations: 340.4 kB / 1.065 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.402, allocations: 38.88 kB / 1.065 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.835e-06/0.402, allocations: 0 / 1.065 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0006734/0.4027, allocations: 302.2 kB / 1.066 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4027, allocations: 59.41 kB / 1.066 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.4034, allocations: 0.5263 MB / 1.066 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.4034, allocations: 33.7 kB / 1.066 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.4037, allocations: 343.3 kB / 1.067 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.4038, allocations: 86.77 kB / 1.067 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4039, allocations: 85.59 kB / 1.067 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4041, allocations: 358.8 kB / 1.067 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.4042, allocations: 100.8 kB / 1.067 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.4045, allocations: 229.9 kB / 1.068 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.4049, allocations: 338.1 kB / 1.068 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4049, allocations: 4 kB / 1.068 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006334/0.4056, allocations: 393.1 kB / 1.068 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4056, allocations: 8 kB / 1.068 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4056, allocations: 4 kB / 1.068 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.4056, allocations: 4 kB / 1.068 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.4059, allocations: 79.89 kB / 1.068 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.406, allocations: 8.5 kB / 1.068 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4064, allocations: 47.62 kB / 1.068 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.4064, allocations: 19.98 kB / 1.068 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003155/0.4067, allocations: 244 kB / 1.069 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002628/0.407, allocations: 230.7 kB / 1.069 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004023/0.4074, allocations: 335.2 kB / 1.069 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.4074, allocations: 3.984 kB / 1.069 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006049/0.4081, allocations: 387.1 kB / 1.07 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4081, allocations: 8 kB / 1.07 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4081, allocations: 4.562 kB / 1.07 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.4081, allocations: 8 kB / 1.07 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.4084, allocations: 79.83 kB / 1.07 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4084, allocations: 11.94 kB / 1.07 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.4087, allocations: 31.75 kB / 1.07 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.4088, allocations: 23.98 kB / 1.07 GB, free: 4.703 MB / 0.8419 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.0001534/0.4089, allocations: 204.1 kB / 1.07 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4091, allocations: 55.34 kB / 1.07 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.4096, allocations: 277 kB / 1.07 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4096, allocations: 7.938 kB / 1.07 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4096, allocations: 3.938 kB / 1.07 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003611/0.41, allocations: 385.3 kB / 1.071 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.4116, allocations: 1.053 MB / 1.072 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4116, allocations: 4 kB / 1.072 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4118, allocations: 55.91 kB / 1.072 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.4118, allocations: 4.094 kB / 1.072 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.4118, allocations: 4 kB / 1.072 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4118, allocations: 8.219 kB / 1.072 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4119, allocations: 11.97 kB / 1.072 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.4125, allocations: 0.5254 MB / 1.072 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.4128, allocations: 168.4 kB / 1.072 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.4129, allocations: 8 kB / 1.072 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4132, allocations: 19.98 kB / 1.072 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.4133, allocations: 27.98 kB / 1.072 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.4133, allocations: 15.98 kB / 1.072 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004874/0.4138, allocations: 411.1 kB / 1.073 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4138, allocations: 0 / 1.073 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00113/0.415, allocations: 347.3 kB / 1.073 GB, free: 0.9219 MB / 0.8419 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.0007634/0.4157, allocations: 318.1 kB / 1.073 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007461/0.4165, allocations: 419.6 kB / 1.074 GB, free: 204 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4165, allocations: 4 kB / 1.074 GB, free: 200 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4167, allocations: 103.8 kB / 1.074 GB, free: 96 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4872/0.9039, allocations: 372.4 kB / 1.074 GB, free: 63.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.906, allocations: 1.127 MB / 1.075 GB, free: 62.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.9065, allocations: 0.8967 MB / 1.076 GB, free: 61.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.9067, allocations: 55.28 kB / 1.076 GB, free: 61.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.124e-06/0.9067, allocations: 0.75 kB / 1.076 GB, free: 61.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.02603/0.9328, allocations: 10.85 MB / 1.087 GB, free: 60.73 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches