Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001665/0.001665, allocations: 190.2 kB / 16.25 MB, free: 6.633 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.16 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3227, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02832/0.351, allocations: 26.11 MB / 1.078 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.3622, allocations: 7.077 MB / 1.085 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.3638, allocations: 35.75 kB / 1.085 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.3652, allocations: 334.2 kB / 1.085 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.3687, allocations: 1.031 MB / 1.086 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.3714, allocations: 0.8751 MB / 1.087 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.3743, allocations: 2.105 MB / 1.089 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.3754, allocations: 0.6179 MB / 1.09 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.3777, allocations: 0.7285 MB / 1.09 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3788, allocations: 0.56 MB / 1.091 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.379, allocations: 56 kB / 1.091 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.3808, allocations: 0.8148 MB / 1.092 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3811, allocations: 175.4 kB / 1.092 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.3817, allocations: 382.3 kB / 1.092 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.3836, allocations: 1.199 MB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3836, allocations: 0 / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3836, allocations: 0 / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.3837, allocations: 0 / 1.093 GB, free: 14.52 MB / 0.8575 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.00175/0.3854, allocations: 1.059 MB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3855, allocations: 12.03 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.3858, allocations: 87.98 kB / 1.094 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.387, allocations: 0.7294 MB / 1.095 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.3871, allocations: 40.94 kB / 1.095 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.3872, allocations: 44 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.388, allocations: 0.4923 MB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.388, allocations: 7.938 kB / 1.096 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.3881, allocations: 20 kB / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.3881, allocations: 15.98 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.3886, allocations: 319.7 kB / 1.096 GB, free: 11.57 MB / 0.8575 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.002867/0.3915, allocations: 2.741 MB / 1.099 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.3919, allocations: 194.5 kB / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.392, allocations: 96.81 kB / 1.099 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.3924, allocations: 348.5 kB / 1.099 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.12e-05/0.3925, allocations: 46.86 kB / 1.099 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.3925, allocations: 0 / 1.099 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0005831/0.3931, allocations: 302.6 kB / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3931, allocations: 55.41 kB / 1.1 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.3937, allocations: 0.5108 MB / 1.1 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3937, allocations: 33.7 kB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.394, allocations: 355.3 kB / 1.101 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.394, allocations: 78.84 kB / 1.101 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3942, allocations: 81.59 kB / 1.101 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3943, allocations: 358.8 kB / 1.101 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3945, allocations: 96.77 kB / 1.101 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3947, allocations: 230 kB / 1.101 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.3951, allocations: 350.5 kB / 1.102 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3952, allocations: 0 / 1.102 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005901/0.3958, allocations: 386.2 kB / 1.102 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3958, allocations: 11.98 kB / 1.102 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3958, allocations: 4 kB / 1.102 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3958, allocations: 4 kB / 1.102 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3961, allocations: 83.84 kB / 1.102 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3961, allocations: 4 kB / 1.102 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.3966, allocations: 59.72 kB / 1.102 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3966, allocations: 20 kB / 1.102 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002969/0.3969, allocations: 248 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002377/0.3972, allocations: 238.5 kB / 1.103 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003873/0.3975, allocations: 326.2 kB / 1.103 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.321e-06/0.3976, allocations: 8 kB / 1.103 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005878/0.3982, allocations: 382.3 kB / 1.103 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3982, allocations: 10.19 kB / 1.103 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3982, allocations: 15.95 kB / 1.104 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3982, allocations: 8 kB / 1.104 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3985, allocations: 83.84 kB / 1.104 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.3985, allocations: 7.938 kB / 1.104 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3989, allocations: 43.81 kB / 1.104 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.399, allocations: 20 kB / 1.104 GB, free: 3.188 MB / 0.8575 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.0001662/0.3991, allocations: 208.1 kB / 1.104 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3992, allocations: 55.34 kB / 1.104 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.3998, allocations: 278.5 kB / 1.104 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3998, allocations: 7.938 kB / 1.104 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3998, allocations: 96 / 1.104 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004046/0.4002, allocations: 396.2 kB / 1.105 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4018, allocations: 1.045 MB / 1.106 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4018, allocations: 7.984 kB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.402, allocations: 51.92 kB / 1.106 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.4021, allocations: 4 kB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.4021, allocations: 11.98 kB / 1.106 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4021, allocations: 4 kB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4021, allocations: 4 kB / 1.106 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.4027, allocations: 0.5187 MB / 1.106 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.403, allocations: 172.4 kB / 1.106 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.4031, allocations: 8 kB / 1.106 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4035, allocations: 35.81 kB / 1.106 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4035, allocations: 27.86 kB / 1.106 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.4036, allocations: 15.98 kB / 1.106 GB, free: 136 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000494/0.4041, allocations: 403.1 kB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4041, allocations: 0 / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001164/0.4053, allocations: 347.3 kB / 1.107 GB, free: 15.4 MB / 0.8731 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.0006935/0.406, allocations: 296.8 kB / 1.107 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000702/0.4067, allocations: 420.9 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4067, allocations: 0.6875 kB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4068, allocations: 111.8 kB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.4086, allocations: 365.7 kB / 1.108 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4104, allocations: 1.311 MB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.4109, allocations: 0.8981 MB / 1.11 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006126/0.4115, allocations: 153 kB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4117, allocations: 59.42 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.4117, allocations: 4 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.02143/0.4331, allocations: 12.57 MB / 1.123 GB, free: 15.34 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches