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.006617/0.006617, allocations: 103.8 kB / 15.74 MB, free: 6.445 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.001449/0.001449, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.55 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02556/0.3414, allocations: 26.27 MB / 1.114 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3517, allocations: 7.135 MB / 1.121 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.353, allocations: 35.81 kB / 1.121 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3541, allocations: 401.5 kB / 1.121 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.3573, allocations: 1.165 MB / 1.122 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.3598, allocations: 0.9557 MB / 1.123 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.3626, allocations: 2.105 MB / 1.125 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008786/0.3635, allocations: 0.6174 MB / 1.126 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.3653, allocations: 0.7416 MB / 1.126 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000776/0.3661, allocations: 0.5443 MB / 1.127 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.3662, allocations: 56 kB / 1.127 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.3684, allocations: 0.811 MB / 1.128 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.3686, allocations: 175.4 kB / 1.128 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.3691, allocations: 378.2 kB / 1.128 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.3719, allocations: 1.214 MB / 1.13 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3719, allocations: 0 / 1.13 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.039e-06/0.3719, allocations: 0 / 1.13 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.3719, allocations: 3.938 kB / 1.13 GB, free: 6.758 MB / 0.8887 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.002003/0.3739, allocations: 1.074 MB / 1.131 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.374, allocations: 12.03 kB / 1.131 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.3744, allocations: 92.41 kB / 1.131 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.3759, allocations: 0.7418 MB / 1.131 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.3759, allocations: 36.94 kB / 1.131 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.376, allocations: 44 kB / 1.131 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.3769, allocations: 0.5078 MB / 1.132 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3769, allocations: 4 kB / 1.132 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.3769, allocations: 16 kB / 1.132 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.377, allocations: 19.88 kB / 1.132 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.3775, allocations: 327.8 kB / 1.132 GB, free: 3.766 MB / 0.8887 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.003049/0.3806, allocations: 2.752 MB / 1.135 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3809, allocations: 193.6 kB / 1.135 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3811, allocations: 104.8 kB / 1.135 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.3814, allocations: 340.4 kB / 1.136 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3815, allocations: 38.88 kB / 1.136 GB, free: 20 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.3815, allocations: 0 / 1.136 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.000607/0.3821, allocations: 309.8 kB / 1.136 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3822, allocations: 59.41 kB / 1.136 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.3827, allocations: 0.5225 MB / 1.137 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3828, allocations: 33.7 kB / 1.137 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.383, allocations: 356 kB / 1.137 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.3831, allocations: 83.27 kB / 1.137 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3832, allocations: 81.64 kB / 1.137 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3834, allocations: 358.8 kB / 1.137 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3835, allocations: 100.8 kB / 1.137 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.3838, allocations: 230 kB / 1.138 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3842, allocations: 336.6 kB / 1.138 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3842, allocations: 0 / 1.138 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000614/0.3848, allocations: 393.9 kB / 1.138 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3849, allocations: 8 kB / 1.138 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3849, allocations: 4 kB / 1.138 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3849, allocations: 4 kB / 1.138 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.3852, allocations: 83.89 kB / 1.138 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.3853, allocations: 7.938 kB / 1.138 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.3857, allocations: 52.19 kB / 1.139 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.3857, allocations: 12 kB / 1.139 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003201/0.3861, allocations: 251.2 kB / 1.139 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002316/0.3863, allocations: 234.6 kB / 1.139 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003825/0.3867, allocations: 335.9 kB / 1.139 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3867, allocations: 3.938 kB / 1.139 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005789/0.3873, allocations: 388.3 kB / 1.14 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3873, allocations: 8 kB / 1.14 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3873, allocations: 4 kB / 1.14 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.3873, allocations: 8.562 kB / 1.14 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3876, allocations: 83.89 kB / 1.14 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3876, allocations: 11.88 kB / 1.14 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.388, allocations: 43.7 kB / 1.14 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.388, allocations: 16 kB / 1.14 GB, free: 11.38 MB / 0.9044 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.0001575/0.3882, allocations: 204.1 kB / 1.14 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3883, allocations: 55.67 kB / 1.14 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.3889, allocations: 287.5 kB / 1.14 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3889, allocations: 3.938 kB / 1.14 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3889, allocations: 0 / 1.14 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000471/0.3894, allocations: 383.2 kB / 1.141 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.3913, allocations: 1.053 MB / 1.142 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3914, allocations: 4 kB / 1.142 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3916, allocations: 55.91 kB / 1.142 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.3916, allocations: 4 kB / 1.142 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3917, allocations: 8 kB / 1.142 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.3917, allocations: 11.92 kB / 1.142 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3917, allocations: 4 kB / 1.142 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.3925, allocations: 0.5248 MB / 1.142 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.3928, allocations: 176.6 kB / 1.143 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.3929, allocations: 8 kB / 1.143 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.3933, allocations: 15.98 kB / 1.143 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.3934, allocations: 19.92 kB / 1.143 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/0.3934, allocations: 24.05 kB / 1.143 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006018/0.394, allocations: 411.1 kB / 1.143 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3941, allocations: 0 / 1.143 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001275/0.3953, allocations: 355.2 kB / 1.143 GB, free: 7.574 MB / 0.9044 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.0006916/0.396, allocations: 313.3 kB / 1.144 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.3967, allocations: 408.7 kB / 1.144 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3968, allocations: 0 / 1.144 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3969, allocations: 108 kB / 1.144 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.3987, allocations: 373.9 kB / 1.145 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.4003, allocations: 1.101 MB / 1.146 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.4007, allocations: 0.8981 MB / 1.146 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.4012, allocations: 149.1 kB / 1.147 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4013, allocations: 59.42 kB / 1.147 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of SimCode: time 2.054e-06/0.4014, allocations: 0 / 1.147 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of Templates: time 0.02185/0.4232, allocations: 12.98 MB / 1.159 GB, free: 7.328 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches