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.00135/0.00135, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001896/0.001896, allocations: 218.1 kB / 23 MB, free: 4.914 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.132/3.132, allocations: 0.4892 GB / 0.7951 GB, free: 35.41 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.002057/0.002057, allocations: 69.19 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03244/0.3834, allocations: 24.39 MB / 1.35 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3952, allocations: 6.625 MB / 1.357 GB, free: 2.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3966, allocations: 55.5 kB / 1.357 GB, free: 2.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.398, allocations: 381.5 kB / 1.357 GB, free: 2.344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.402, allocations: 1.19 MB / 1.358 GB, free: 1.148 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.4051, allocations: 0.9675 MB / 1.359 GB, free: 196 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.4085, allocations: 2.148 MB / 1.361 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4096, allocations: 489.2 kB / 1.362 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.4122, allocations: 0.8754 MB / 1.363 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.4134, allocations: 0.5521 MB / 1.363 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.4136, allocations: 56 kB / 1.363 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.4154, allocations: 0.6706 MB / 1.364 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.4157, allocations: 179.2 kB / 1.364 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.4163, allocations: 302.6 kB / 1.364 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.4187, allocations: 1.242 MB / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4187, allocations: 0 / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4187, allocations: 0 / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4187, allocations: 4 kB / 1.365 GB, free: 9.672 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.001796/0.4205, allocations: 1.01 MB / 1.366 GB, free: 8.629 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4205, allocations: 8.031 kB / 1.366 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.4209, allocations: 92.41 kB / 1.367 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.4223, allocations: 0.6813 MB / 1.367 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.4223, allocations: 40.94 kB / 1.367 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.4224, allocations: 40 kB / 1.367 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.4234, allocations: 0.6507 MB / 1.368 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4234, allocations: 7.938 kB / 1.368 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.4234, allocations: 24 kB / 1.368 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.4235, allocations: 12 kB / 1.368 GB, free: 6.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.4241, allocations: 319.7 kB / 1.368 GB, free: 6.664 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.002972/0.427, allocations: 1.883 MB / 1.37 GB, free: 4.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.4274, allocations: 180.2 kB / 1.37 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4275, allocations: 92.75 kB / 1.37 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.4277, allocations: 35.97 kB / 1.37 GB, free: 4.406 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.4278, allocations: 46.88 kB / 1.37 GB, free: 4.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.4278, allocations: 0 / 1.37 GB, free: 4.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0006707/0.4285, allocations: 315.5 kB / 1.371 GB, free: 4.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.4285, allocations: 51.41 kB / 1.371 GB, free: 3.977 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.4292, allocations: 0.5302 MB / 1.371 GB, free: 3.434 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.4292, allocations: 33.7 kB / 1.371 GB, free: 3.395 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.4295, allocations: 348.1 kB / 1.372 GB, free: 3.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.4296, allocations: 87.27 kB / 1.372 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4298, allocations: 85.59 kB / 1.372 GB, free: 2.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.43, allocations: 362.8 kB / 1.372 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.4301, allocations: 88.81 kB / 1.372 GB, free: 2.418 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.4305, allocations: 341.4 kB / 1.373 GB, free: 1.996 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.431, allocations: 347.2 kB / 1.373 GB, free: 1.602 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.431, allocations: 4 kB / 1.373 GB, free: 1.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006394/0.4316, allocations: 388.9 kB / 1.373 GB, free: 1.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4317, allocations: 4 kB / 1.373 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4317, allocations: 8 kB / 1.373 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4317, allocations: 4 kB / 1.373 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.432, allocations: 79.84 kB / 1.373 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.432, allocations: 11.98 kB / 1.373 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4323, allocations: 44.11 kB / 1.373 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.4324, allocations: 20 kB / 1.373 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003468/0.4327, allocations: 250 kB / 1.374 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/0.4331, allocations: 332.7 kB / 1.374 GB, free: 392 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004527/0.4335, allocations: 330.2 kB / 1.374 GB, free: 4 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.4335, allocations: 0 / 1.374 GB, free: 4 kB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006392/0.4342, allocations: 388.9 kB / 1.375 GB, free: 15.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4342, allocations: 8 kB / 1.375 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4342, allocations: 4.562 kB / 1.375 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.4342, allocations: 11.83 kB / 1.375 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4344, allocations: 79.91 kB / 1.375 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.4345, allocations: 15.92 kB / 1.375 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.4348, allocations: 31.72 kB / 1.375 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.4348, allocations: 23.98 kB / 1.375 GB, free: 15.45 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.0001849/0.435, allocations: 204.1 kB / 1.375 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4351, allocations: 55.67 kB / 1.375 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.4356, allocations: 284.9 kB / 1.375 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4356, allocations: 8 kB / 1.375 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4356, allocations: 3.938 kB / 1.375 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004862/0.4361, allocations: 377.4 kB / 1.376 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4377, allocations: 0.8304 MB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4377, allocations: 0 / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4379, allocations: 52.2 kB / 1.377 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4379, allocations: 4 kB / 1.377 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4379, allocations: 15.98 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4379, allocations: 0 / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4379, allocations: 7.938 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.4386, allocations: 0.5222 MB / 1.377 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.4389, allocations: 91.59 kB / 1.377 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.4389, allocations: 11.98 kB / 1.377 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.4392, allocations: 15.98 kB / 1.377 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.4393, allocations: 27.91 kB / 1.377 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.4393, allocations: 16.09 kB / 1.377 GB, free: 12.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004949/0.4398, allocations: 366.8 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4398, allocations: 0 / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001074/0.4409, allocations: 371.1 kB / 1.378 GB, free: 12.05 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.0005467/0.4414, allocations: 301.6 kB / 1.378 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006953/0.4421, allocations: 388.1 kB / 1.379 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4421, allocations: 4 kB / 1.379 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.4423, allocations: 100.1 kB / 1.379 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4438, allocations: 331.9 kB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.4458, allocations: 1.124 MB / 1.38 GB, free: 9.773 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4461, allocations: 299.9 kB / 1.38 GB, free: 9.453 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.4463, allocations: 55.42 kB / 1.381 GB, free: 9.398 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.4463, allocations: 0 / 1.381 GB, free: 9.398 MB / 1.076 GB Notification: Performance of Templates: time 0.01912/0.4654, allocations: 10.62 MB / 1.391 GB, free: 14.86 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: 13.397113104816526]