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.001446/0.001447, allocations: 103.9 kB / 16.27 MB, free: 5.988 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.001505/0.001506, allocations: 188.9 kB / 17.2 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.232/2.232, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.38 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2799, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02922/0.3092, allocations: 26.3 MB / 0.9759 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3195, allocations: 7.116 MB / 0.9829 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.3209, allocations: 35.75 kB / 0.9829 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.3224, allocations: 393.4 kB / 0.9833 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.3257, allocations: 1.104 MB / 0.9844 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.3283, allocations: 0.9496 MB / 0.9853 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002788/0.3311, allocations: 2.089 MB / 0.9873 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.3321, allocations: 0.6179 MB / 0.9879 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.3341, allocations: 0.7188 MB / 0.9887 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009923/0.3351, allocations: 0.5405 MB / 0.9892 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.3352, allocations: 52 kB / 0.9892 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.337, allocations: 0.8149 MB / 0.99 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.3372, allocations: 167.4 kB / 0.9902 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.3377, allocations: 382.2 kB / 0.9905 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.3395, allocations: 1.192 MB / 0.9917 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3395, allocations: 0 / 0.9917 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3395, allocations: 4 kB / 0.9917 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.3395, allocations: 0 / 0.9917 GB, free: 14.29 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.001401/0.3409, allocations: 1.059 MB / 0.9928 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.341, allocations: 11.97 kB / 0.9928 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.3413, allocations: 88 kB / 0.9928 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3424, allocations: 0.6945 MB / 0.9935 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.3424, allocations: 32.94 kB / 0.9936 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.3425, allocations: 48 kB / 0.9936 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.3432, allocations: 0.5001 MB / 0.9941 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3432, allocations: 0 / 0.9941 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.3433, allocations: 24 kB / 0.9941 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3433, allocations: 12 kB / 0.9941 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.3438, allocations: 319.7 kB / 0.9944 GB, free: 11.38 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.002566/0.3464, allocations: 2.767 MB / 0.9971 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3467, allocations: 194.5 kB / 0.9973 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3468, allocations: 96.81 kB / 0.9974 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/0.3472, allocations: 340.4 kB / 0.9977 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3472, allocations: 46.88 kB / 0.9978 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.3472, allocations: 0 / 0.9978 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.000596/0.3478, allocations: 307.1 kB / 0.9981 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3479, allocations: 51.41 kB / 0.9981 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.3484, allocations: 0.5302 MB / 0.9986 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3485, allocations: 33.7 kB / 0.9987 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.3487, allocations: 343.4 kB / 0.999 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.3488, allocations: 82.84 kB / 0.9991 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3489, allocations: 85.59 kB / 0.9992 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.349, allocations: 366.8 kB / 0.9995 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3492, allocations: 92.77 kB / 0.9996 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3494, allocations: 233.9 kB / 0.9998 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.3499, allocations: 339 kB / 1 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3499, allocations: 4 kB / 1 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00056/0.3504, allocations: 388.5 kB / 1.001 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3505, allocations: 8 kB / 1.001 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3505, allocations: 4.562 kB / 1.001 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3505, allocations: 4 kB / 1.001 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3508, allocations: 87.83 kB / 1.001 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3508, allocations: 8 kB / 1.001 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.3512, allocations: 35.67 kB / 1.001 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.3512, allocations: 20 kB / 1.001 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002998/0.3515, allocations: 248 kB / 1.001 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002287/0.3517, allocations: 234.6 kB / 1.001 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003707/0.3521, allocations: 343.3 kB / 1.001 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3521, allocations: 0 / 1.001 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005359/0.3527, allocations: 388.8 kB / 1.002 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.3527, allocations: 12.09 kB / 1.002 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3527, allocations: 4 kB / 1.002 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.3527, allocations: 4 kB / 1.002 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.3529, allocations: 83.83 kB / 1.002 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.353, allocations: 15.88 kB / 1.002 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3533, allocations: 35.72 kB / 1.002 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3533, allocations: 16 kB / 1.002 GB, free: 2.973 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.000138/0.3535, allocations: 200.1 kB / 1.002 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3536, allocations: 63.34 kB / 1.002 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.3541, allocations: 276.8 kB / 1.003 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3541, allocations: 11.94 kB / 1.003 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3541, allocations: 0 / 1.003 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003324/0.3544, allocations: 377.4 kB / 1.003 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.3558, allocations: 1.063 MB / 1.004 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3558, allocations: 0 / 1.004 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.3561, allocations: 59.91 kB / 1.004 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.3561, allocations: 4.281 kB / 1.004 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3561, allocations: 12 kB / 1.004 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.3561, allocations: 7.984 kB / 1.004 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3561, allocations: 0 / 1.004 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.3569, allocations: 0.5198 MB / 1.005 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.3572, allocations: 172.3 kB / 1.005 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.3573, allocations: 8.047 kB / 1.005 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.3577, allocations: 15.94 kB / 1.005 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3578, allocations: 27.92 kB / 1.005 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.3578, allocations: 19.98 kB / 1.005 GB, free: 15.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006061/0.3584, allocations: 411.1 kB / 1.005 GB, free: 15.53 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3585, allocations: 0 / 1.005 GB, free: 15.53 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001422/0.3599, allocations: 351.3 kB / 1.005 GB, free: 15.18 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.001039/0.3609, allocations: 313.3 kB / 1.006 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008521/0.3618, allocations: 422.3 kB / 1.006 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3618, allocations: 0 / 1.006 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.362, allocations: 103.8 kB / 1.006 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.3638, allocations: 387.3 kB / 1.007 GB, free: 14.01 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3657, allocations: 1.137 MB / 1.008 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.3661, allocations: 0.8864 MB / 1.009 GB, free: 11.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3663, allocations: 63.41 kB / 1.009 GB, free: 11.83 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.3663, allocations: 4 kB / 1.009 GB, free: 11.83 MB / 0.795 GB Notification: Performance of Templates: time 0.0163/0.3826, allocations: 10.83 MB / 1.019 GB, free: 1.094 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