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.001208/0.001208, allocations: 110.8 kB / 15.99 MB, free: 6.348 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.001417/0.001418, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.239/2.239, allocations: 390.3 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.88 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03319/0.3281, allocations: 26.11 MB / 0.9753 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.3413, allocations: 7.077 MB / 0.9822 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.3431, allocations: 31.81 kB / 0.9822 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3447, allocations: 330.2 kB / 0.9825 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.3491, allocations: 1.042 MB / 0.9835 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.3522, allocations: 0.8685 MB / 0.9844 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003158/0.3554, allocations: 2.112 MB / 0.9864 GB, free: 3.578 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.3565, allocations: 0.6063 MB / 0.987 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.3589, allocations: 0.7299 MB / 0.9877 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.36, allocations: 0.5678 MB / 0.9883 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.3602, allocations: 52 kB / 0.9884 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.3622, allocations: 0.8148 MB / 0.9891 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.3625, allocations: 171.3 kB / 0.9893 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.3632, allocations: 390.1 kB / 0.9897 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3648, allocations: 0.9082 MB / 0.9906 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3648, allocations: 4 kB / 0.9906 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3648, allocations: 0 / 0.9906 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.3648, allocations: 0 / 0.9906 GB, free: 15.33 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.002059/0.3669, allocations: 1.047 MB / 0.9916 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.367, allocations: 16.02 kB / 0.9916 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.3674, allocations: 84 kB / 0.9917 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.3688, allocations: 0.7295 MB / 0.9924 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.3688, allocations: 40.94 kB / 0.9924 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.3689, allocations: 43.91 kB / 0.9925 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.3698, allocations: 0.504 MB / 0.993 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.3698, allocations: 0 / 0.993 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.3699, allocations: 24 kB / 0.993 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.3699, allocations: 12 kB / 0.993 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.3705, allocations: 315.7 kB / 0.9933 GB, free: 12.4 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.003058/0.3735, allocations: 2.748 MB / 0.996 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3739, allocations: 194.5 kB / 0.9962 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.374, allocations: 100.8 kB / 0.9963 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.3744, allocations: 340.4 kB / 0.9966 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3744, allocations: 42.81 kB / 0.9966 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.3744, allocations: 0 / 0.9966 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0006559/0.3751, allocations: 302.6 kB / 0.9969 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3751, allocations: 59.41 kB / 0.997 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.3758, allocations: 0.5146 MB / 0.9975 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3758, allocations: 33.7 kB / 0.9975 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3761, allocations: 343.4 kB / 0.9979 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.3762, allocations: 82.83 kB / 0.9979 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3763, allocations: 77.61 kB / 0.998 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3765, allocations: 366.8 kB / 0.9984 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3766, allocations: 96.77 kB / 0.9984 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3769, allocations: 233.9 kB / 0.9987 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.3773, allocations: 343.8 kB / 0.999 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3773, allocations: 0 / 0.999 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006079/0.3779, allocations: 390 kB / 0.9994 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3779, allocations: 10.5 kB / 0.9994 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3779, allocations: 7.938 kB / 0.9994 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.378, allocations: 4 kB / 0.9994 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.3782, allocations: 83.84 kB / 0.9995 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.3783, allocations: 16.48 kB / 0.9995 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.3788, allocations: 55.58 kB / 0.9995 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3788, allocations: 16 kB / 0.9996 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003045/0.3791, allocations: 252 kB / 0.9998 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000243/0.3794, allocations: 230.6 kB / 1 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003801/0.3798, allocations: 339.3 kB / 1 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.3798, allocations: 4 kB / 1 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008194/0.3806, allocations: 384.8 kB / 1.001 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3806, allocations: 8 kB / 1.001 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3806, allocations: 4 kB / 1.001 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3807, allocations: 8 kB / 1.001 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3809, allocations: 75.91 kB / 1.001 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3809, allocations: 11.88 kB / 1.001 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.3814, allocations: 48.03 kB / 1.001 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3814, allocations: 20 kB / 1.001 GB, free: 4 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.0001562/0.3816, allocations: 204.1 kB / 1.001 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3817, allocations: 55.34 kB / 1.001 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.3822, allocations: 288.1 kB / 1.001 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3822, allocations: 3.938 kB / 1.001 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3822, allocations: 4 kB / 1.001 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004066/0.3826, allocations: 373.4 kB / 1.002 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3843, allocations: 1.053 MB / 1.003 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3843, allocations: 4 kB / 1.003 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3845, allocations: 51.91 kB / 1.003 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3845, allocations: 4 kB / 1.003 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3846, allocations: 8 kB / 1.003 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3846, allocations: 4 kB / 1.003 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3846, allocations: 12.22 kB / 1.003 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.3853, allocations: 0.5199 MB / 1.003 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.3855, allocations: 172.2 kB / 1.004 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.3856, allocations: 11.98 kB / 1.004 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3861, allocations: 31.89 kB / 1.004 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3861, allocations: 23.91 kB / 1.004 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3862, allocations: 19.98 kB / 1.004 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000462/0.3866, allocations: 395.1 kB / 1.004 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3866, allocations: 0 / 1.004 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001091/0.3877, allocations: 343.3 kB / 1.004 GB, free: 232 kB / 0.7794 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.0008449/0.3886, allocations: 320.6 kB / 1.005 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.3894, allocations: 418.5 kB / 1.005 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3894, allocations: 0 / 1.005 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3895, allocations: 103.8 kB / 1.005 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.3913, allocations: 377.8 kB / 1.005 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3933, allocations: 1.344 MB / 1.007 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3938, allocations: 0.8903 MB / 1.008 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.394, allocations: 59.36 kB / 1.008 GB, free: 12.67 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/0.394, allocations: 4 kB / 1.008 GB, free: 12.67 MB / 0.795 GB Notification: Performance of Templates: time 0.01761/0.4116, allocations: 10.65 MB / 1.018 GB, free: 2.125 MB / 0.795 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