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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001537/0.001537, allocations: 111 kB / 16.37 MB, free: 6.012 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.001737/0.001737, allocations: 191.7 kB / 17.3 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.8 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2697, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02896/0.2987, allocations: 26.28 MB / 0.9768 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3098, allocations: 7.127 MB / 0.9837 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3108, allocations: 39.81 kB / 0.9838 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.3119, allocations: 389.4 kB / 0.9842 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.3146, allocations: 1.108 MB / 0.9852 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.3169, allocations: 0.9611 MB / 0.9862 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002565/0.3195, allocations: 2.083 MB / 0.9882 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000765/0.3203, allocations: 0.6176 MB / 0.9888 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.3219, allocations: 0.7215 MB / 0.9895 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.3225, allocations: 0.5366 MB / 0.99 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3227, allocations: 56.05 kB / 0.9901 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.3244, allocations: 0.8148 MB / 0.9909 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.3247, allocations: 171.4 kB / 0.9911 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.3251, allocations: 386.1 kB / 0.9914 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.3272, allocations: 1.207 MB / 0.9926 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3272, allocations: 3.938 kB / 0.9926 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3272, allocations: 0 / 0.9926 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.3272, allocations: 0 / 0.9926 GB, free: 13.41 MB / 0.7794 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.001554/0.3288, allocations: 1.051 MB / 0.9936 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3288, allocations: 8.031 kB / 0.9936 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.3291, allocations: 91.98 kB / 0.9937 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3304, allocations: 0.7374 MB / 0.9944 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.3304, allocations: 36.94 kB / 0.9945 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.3305, allocations: 48 kB / 0.9945 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.3313, allocations: 0.4962 MB / 0.995 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.3313, allocations: 3.984 kB / 0.995 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.3314, allocations: 20 kB / 0.995 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3314, allocations: 12 kB / 0.995 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.3321, allocations: 319.7 kB / 0.9954 GB, free: 10.46 MB / 0.7794 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.002845/0.3349, allocations: 2.756 MB / 0.998 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.3352, allocations: 195.6 kB / 0.9982 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3354, allocations: 100.8 kB / 0.9983 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.3358, allocations: 344.5 kB / 0.9987 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3358, allocations: 38.88 kB / 0.9987 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3358, allocations: 0 / 0.9987 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005722/0.3364, allocations: 307.1 kB / 0.999 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3364, allocations: 63.41 kB / 0.999 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.337, allocations: 0.5263 MB / 0.9996 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3371, allocations: 33.7 kB / 0.9996 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.3373, allocations: 347.3 kB / 0.9999 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.3374, allocations: 82.83 kB / 1 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.3375, allocations: 77.61 kB / 1 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3376, allocations: 362.8 kB / 1 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3378, allocations: 104.8 kB / 1.001 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3381, allocations: 233.9 kB / 1.001 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.3385, allocations: 337.4 kB / 1.001 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3385, allocations: 0 / 1.001 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005563/0.3391, allocations: 389.4 kB / 1.001 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3391, allocations: 10.66 kB / 1.001 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3391, allocations: 4 kB / 1.001 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3391, allocations: 8 kB / 1.001 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3394, allocations: 79.84 kB / 1.002 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3394, allocations: 4.562 kB / 1.002 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.3398, allocations: 43.67 kB / 1.002 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.3398, allocations: 16 kB / 1.002 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003064/0.3401, allocations: 255.9 kB / 1.002 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002783/0.3404, allocations: 238.5 kB / 1.002 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003731/0.3408, allocations: 330.4 kB / 1.002 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.3408, allocations: 4 kB / 1.002 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005346/0.3413, allocations: 394.1 kB / 1.003 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.3414, allocations: 8 kB / 1.003 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3414, allocations: 4.562 kB / 1.003 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.3414, allocations: 8 kB / 1.003 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3416, allocations: 79.91 kB / 1.003 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3416, allocations: 11.88 kB / 1.003 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.342, allocations: 31.73 kB / 1.003 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.342, allocations: 20 kB / 1.003 GB, free: 2.062 MB / 0.7794 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.0001259/0.3421, allocations: 200.1 kB / 1.003 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.3422, allocations: 59.34 kB / 1.003 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.3427, allocations: 280.2 kB / 1.003 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.3427, allocations: 7.938 kB / 1.003 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3427, allocations: 0 / 1.003 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003406/0.3431, allocations: 378.4 kB / 1.004 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3445, allocations: 1.057 MB / 1.005 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3445, allocations: 4 kB / 1.005 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.3447, allocations: 51.92 kB / 1.005 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3447, allocations: 7.984 kB / 1.005 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3447, allocations: 8 kB / 1.005 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3447, allocations: 4 kB / 1.005 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3447, allocations: 4.281 kB / 1.005 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.3453, allocations: 0.5238 MB / 1.005 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3456, allocations: 172.2 kB / 1.006 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.3456, allocations: 8 kB / 1.006 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.346, allocations: 11.98 kB / 1.006 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.346, allocations: 31.84 kB / 1.006 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3461, allocations: 24.05 kB / 1.006 GB, free: 15.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000437/0.3465, allocations: 403.1 kB / 1.006 GB, free: 14.62 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3465, allocations: 0 / 1.006 GB, free: 14.62 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009345/0.3475, allocations: 355.3 kB / 1.006 GB, free: 14.28 MB / 0.795 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.0006084/0.3481, allocations: 320.9 kB / 1.007 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.3487, allocations: 407 kB / 1.007 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.572e-05/0.3487, allocations: 4.312 kB / 1.007 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3489, allocations: 103.8 kB / 1.007 GB, free: 13.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.3504, allocations: 377.8 kB / 1.008 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.352, allocations: 1.08 MB / 1.009 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.3524, allocations: 0.8941 MB / 1.009 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.3529, allocations: 161 kB / 1.01 GB, free: 10.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.353, allocations: 59.42 kB / 1.01 GB, free: 10.84 MB / 0.795 GB Notification: Performance of SimCode: time 7.82e-07/0.3531, allocations: 0 / 1.01 GB, free: 10.84 MB / 0.795 GB Notification: Performance of Templates: time 0.02121/0.3743, allocations: 12.89 MB / 1.022 GB, free: 14.16 MB / 0.8106 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 -s cvode -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