Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 215.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.872/2.872, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 66.58 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2815, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02759/0.3091, allocations: 26.92 MB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.3198, allocations: 7.177 MB / 1.36 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.3209, allocations: 51.56 kB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.322, allocations: 405.4 kB / 1.361 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.3252, allocations: 1.198 MB / 1.362 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.3277, allocations: 0.9904 MB / 1.363 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.3306, allocations: 2.167 MB / 1.365 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.3314, allocations: 497.3 kB / 1.366 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.3336, allocations: 0.8658 MB / 1.366 GB, free: 9.051 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008152/0.3344, allocations: 0.5716 MB / 1.367 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.3345, allocations: 60 kB / 1.367 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3361, allocations: 0.8578 MB / 1.368 GB, free: 7.559 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.3363, allocations: 179.2 kB / 1.368 GB, free: 7.383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3368, allocations: 382.2 kB / 1.368 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.3386, allocations: 1.269 MB / 1.37 GB, free: 5.734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3386, allocations: 3.938 kB / 1.37 GB, free: 5.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3386, allocations: 0 / 1.37 GB, free: 5.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3386, allocations: 0 / 1.37 GB, free: 5.73 MB / 1.061 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.0015/0.3401, allocations: 1.01 MB / 1.371 GB, free: 4.688 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3402, allocations: 8.031 kB / 1.371 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.3405, allocations: 92.42 kB / 1.371 GB, free: 4.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.3417, allocations: 0.6735 MB / 1.371 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.3417, allocations: 36.94 kB / 1.371 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.3418, allocations: 47.95 kB / 1.371 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.3426, allocations: 0.504 MB / 1.372 GB, free: 3.266 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3426, allocations: 4 kB / 1.372 GB, free: 3.262 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.3426, allocations: 16 kB / 1.372 GB, free: 3.246 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.3427, allocations: 19.92 kB / 1.372 GB, free: 3.227 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.3432, allocations: 327.6 kB / 1.372 GB, free: 2.906 MB / 1.061 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.003027/0.3462, allocations: 2.842 MB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.3465, allocations: 194.4 kB / 1.375 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3467, allocations: 88.81 kB / 1.375 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.3468, allocations: 35.97 kB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3469, allocations: 42.88 kB / 1.375 GB, free: 15.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3469, allocations: 0 / 1.375 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.000556/0.3474, allocations: 304.8 kB / 1.376 GB, free: 15.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3475, allocations: 51.41 kB / 1.376 GB, free: 15.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.3481, allocations: 0.5343 MB / 1.376 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3481, allocations: 29.7 kB / 1.376 GB, free: 14.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.3484, allocations: 352.1 kB / 1.377 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.3484, allocations: 91.25 kB / 1.377 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3486, allocations: 81.59 kB / 1.377 GB, free: 13.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3487, allocations: 362.7 kB / 1.377 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3489, allocations: 96.81 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.3491, allocations: 234.6 kB / 1.377 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.3495, allocations: 342.1 kB / 1.378 GB, free: 12.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3495, allocations: 0 / 1.378 GB, free: 12.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005753/0.3501, allocations: 395.2 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3501, allocations: 10.5 kB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3501, allocations: 4 kB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3502, allocations: 8 kB / 1.378 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3504, allocations: 76.52 kB / 1.378 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3504, allocations: 15.92 kB / 1.378 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.3507, allocations: 51.66 kB / 1.378 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.3508, allocations: 19.98 kB / 1.378 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003059/0.3511, allocations: 248 kB / 1.379 GB, free: 12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002484/0.3513, allocations: 230 kB / 1.379 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004059/0.3517, allocations: 329.5 kB / 1.379 GB, free: 11.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.3517, allocations: 4 kB / 1.379 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005386/0.3523, allocations: 384.8 kB / 1.38 GB, free: 10.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.3523, allocations: 8.562 kB / 1.38 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3523, allocations: 4 kB / 1.38 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.3523, allocations: 15.94 kB / 1.38 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3525, allocations: 79.84 kB / 1.38 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3525, allocations: 11.92 kB / 1.38 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3528, allocations: 31.84 kB / 1.38 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.3529, allocations: 16 kB / 1.38 GB, free: 10.78 MB / 1.076 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.0001487/0.353, allocations: 215.6 kB / 1.38 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.3531, allocations: 59.62 kB / 1.38 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.3536, allocations: 277.6 kB / 1.38 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3536, allocations: 11.88 kB / 1.38 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3536, allocations: 0 / 1.38 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000384/0.354, allocations: 389.3 kB / 1.381 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3554, allocations: 0.9533 MB / 1.382 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3554, allocations: 8 kB / 1.382 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.3556, allocations: 51.91 kB / 1.382 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3556, allocations: 4 kB / 1.382 GB, free: 8.691 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3556, allocations: 8 kB / 1.382 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.3557, allocations: 8.219 kB / 1.382 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3557, allocations: 8 kB / 1.382 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.3563, allocations: 0.5222 MB / 1.382 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.3565, allocations: 95.53 kB / 1.382 GB, free: 8.008 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.3566, allocations: 8 kB / 1.382 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.3569, allocations: 15.98 kB / 1.382 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3569, allocations: 27.97 kB / 1.382 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.357, allocations: 15.98 kB / 1.382 GB, free: 7.941 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004661/0.3574, allocations: 415.1 kB / 1.383 GB, free: 7.535 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3574, allocations: 0 / 1.383 GB, free: 7.535 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009407/0.3584, allocations: 359.2 kB / 1.383 GB, free: 7.184 MB / 1.076 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.0004594/0.3588, allocations: 299.6 kB / 1.383 GB, free: 6.883 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.3594, allocations: 385.4 kB / 1.384 GB, free: 6.508 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3594, allocations: 4 kB / 1.384 GB, free: 6.504 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3596, allocations: 96.39 kB / 1.384 GB, free: 6.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3611, allocations: 375.4 kB / 1.384 GB, free: 6.047 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3628, allocations: 1.14 MB / 1.385 GB, free: 4.848 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3633, allocations: 0.8903 MB / 1.386 GB, free: 3.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3634, allocations: 59.42 kB / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.3634, allocations: 0 / 1.386 GB, free: 3.871 MB / 1.076 GB Notification: Performance of Templates: time 0.01593/0.3794, allocations: 10.94 MB / 1.397 GB, free: 9.027 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.776942548021907]