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.001575/0.001575, allocations: 107.7 kB / 16.27 MB, free: 6.402 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.001479/0.001479, allocations: 191 kB / 17.2 MB, free: 5.938 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.31 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.52/2.52, allocations: 437.1 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 64.53 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03006/0.3366, allocations: 26.28 MB / 1.044 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3481, allocations: 7.133 MB / 1.051 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3494, allocations: 39.75 kB / 1.051 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.3506, allocations: 381.5 kB / 1.051 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3539, allocations: 1.11 MB / 1.052 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3565, allocations: 0.9516 MB / 1.053 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002857/0.3594, allocations: 2.085 MB / 1.055 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009681/0.3603, allocations: 0.6218 MB / 1.056 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.3622, allocations: 0.719 MB / 1.056 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.3631, allocations: 0.5366 MB / 1.057 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3632, allocations: 56 kB / 1.057 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.365, allocations: 0.8071 MB / 1.058 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.3652, allocations: 179.3 kB / 1.058 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.3657, allocations: 374.2 kB / 1.058 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.3676, allocations: 1.2 MB / 1.059 GB, free: 16 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3676, allocations: 0 / 1.059 GB, free: 16 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3676, allocations: 0 / 1.059 GB, free: 16 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3677, allocations: 0 / 1.059 GB, free: 16 kB / 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.00166/0.3693, allocations: 1.051 MB / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3694, allocations: 8.031 kB / 1.06 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.3697, allocations: 87.98 kB / 1.061 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3709, allocations: 0.6945 MB / 1.061 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.3709, allocations: 40.94 kB / 1.061 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.371, allocations: 48 kB / 1.061 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.3719, allocations: 0.5039 MB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3719, allocations: 7.906 kB / 1.062 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.372, allocations: 20 kB / 1.062 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.372, allocations: 12 kB / 1.062 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3726, allocations: 319.7 kB / 1.062 GB, free: 13.11 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.003436/0.376, allocations: 2.764 MB / 1.065 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.3764, allocations: 190.5 kB / 1.065 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3766, allocations: 102.3 kB / 1.065 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.377, allocations: 340.4 kB / 1.065 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.377, allocations: 34.88 kB / 1.065 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.485e-06/0.377, allocations: 3.938 kB / 1.065 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0006386/0.3777, allocations: 314.7 kB / 1.066 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3777, allocations: 55.41 kB / 1.066 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.3784, allocations: 0.5224 MB / 1.066 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.3785, allocations: 33.7 kB / 1.066 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.3788, allocations: 351.3 kB / 1.067 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.3788, allocations: 82.91 kB / 1.067 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.379, allocations: 81.61 kB / 1.067 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3792, allocations: 358.8 kB / 1.067 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3794, allocations: 100.8 kB / 1.067 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.3797, allocations: 237.9 kB / 1.068 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.3801, allocations: 334.6 kB / 1.068 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3801, allocations: 0 / 1.068 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006306/0.3808, allocations: 390.7 kB / 1.068 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3808, allocations: 8 kB / 1.068 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3808, allocations: 4 kB / 1.068 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3808, allocations: 8 kB / 1.068 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3811, allocations: 80.41 kB / 1.068 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3811, allocations: 4 kB / 1.068 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.3815, allocations: 47.67 kB / 1.068 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.3815, allocations: 15.94 kB / 1.068 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003395/0.3819, allocations: 259.9 kB / 1.069 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002923/0.3822, allocations: 230.7 kB / 1.069 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004555/0.3826, allocations: 331.1 kB / 1.069 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.3827, allocations: 0 / 1.069 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006028/0.3833, allocations: 388.4 kB / 1.07 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3833, allocations: 8.562 kB / 1.07 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3833, allocations: 4 kB / 1.07 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.3833, allocations: 12 kB / 1.07 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.3835, allocations: 75.91 kB / 1.07 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3836, allocations: 11.88 kB / 1.07 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3839, allocations: 35.73 kB / 1.07 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.3839, allocations: 16 kB / 1.07 GB, free: 4.719 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.000152/0.3841, allocations: 204.1 kB / 1.07 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3842, allocations: 55.34 kB / 1.07 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.3847, allocations: 289.8 kB / 1.07 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3847, allocations: 4.031 kB / 1.07 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3848, allocations: 0 / 1.07 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004179/0.3852, allocations: 381.4 kB / 1.071 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3868, allocations: 1.061 MB / 1.072 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3868, allocations: 4 kB / 1.072 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.387, allocations: 51.91 kB / 1.072 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.387, allocations: 7.938 kB / 1.072 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3871, allocations: 8 kB / 1.072 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3871, allocations: 8.266 kB / 1.072 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.3871, allocations: 8 kB / 1.072 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.3878, allocations: 0.521 MB / 1.072 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.388, allocations: 168.4 kB / 1.072 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.3881, allocations: 8 kB / 1.072 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.3884, allocations: 15.98 kB / 1.072 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3885, allocations: 31.91 kB / 1.072 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3885, allocations: 19.98 kB / 1.072 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005009/0.389, allocations: 407.1 kB / 1.073 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 1.073 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001034/0.3901, allocations: 351.3 kB / 1.073 GB, free: 0.9297 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.0007194/0.3908, allocations: 307.6 kB / 1.073 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007225/0.3915, allocations: 423.2 kB / 1.074 GB, free: 220 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3916, allocations: 4 kB / 1.074 GB, free: 216 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3917, allocations: 102.2 kB / 1.074 GB, free: 116 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4455/0.8372, allocations: 368 kB / 1.074 GB, free: 63.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.8392, allocations: 1.132 MB / 1.075 GB, free: 62.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.8397, allocations: 0.8939 MB / 1.076 GB, free: 61.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.8398, allocations: 65.14 kB / 1.076 GB, free: 61.83 MB / 0.8419 GB Notification: Performance of SimCode: time 9.12e-07/0.8398, allocations: 0 / 1.076 GB, free: 61.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.02371/0.8635, allocations: 10.84 MB / 1.087 GB, free: 60.72 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=400 -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