Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2741/1.408, allocations: 188.8 MB / 1.456 GB, free: 7.734 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.427, allocations: 10.84 MB / 1.467 GB, free: 12.87 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/1.429, allocations: 39.75 kB / 1.467 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/1.431, allocations: 0.5087 MB / 1.467 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008504/1.439, allocations: 2.665 MB / 1.47 GB, free: 9.641 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007795/1.447, allocations: 2.476 MB / 1.473 GB, free: 7.172 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005006/1.452, allocations: 2.774 MB / 1.475 GB, free: 4.391 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.454, allocations: 0.6277 MB / 1.476 GB, free: 3.75 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.457, allocations: 1.028 MB / 1.477 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/1.46, allocations: 1.147 MB / 1.478 GB, free: 1.57 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004835/1.46, allocations: 96 kB / 1.478 GB, free: 1.477 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008688/1.469, allocations: 3.122 MB / 1.481 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/1.47, allocations: 450.6 kB / 1.482 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/1.472, allocations: 0.5794 MB / 1.482 GB, free: 13.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/1.482, allocations: 2.971 MB / 1.485 GB, free: 10.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.482, allocations: 0 / 1.485 GB, free: 10.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.676e-06/1.482, allocations: 0 / 1.485 GB, free: 10.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.637e-05/1.482, allocations: 3.938 kB / 1.485 GB, free: 10.34 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006019/1.488, allocations: 1.715 MB / 1.487 GB, free: 8.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/1.488, allocations: 8.031 kB / 1.487 GB, free: 8.562 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/1.491, allocations: 310.9 kB / 1.487 GB, free: 8.258 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.493, allocations: 0.8319 MB / 1.488 GB, free: 7.383 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/1.493, allocations: 57.3 kB / 1.488 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.493, allocations: 63.98 kB / 1.488 GB, free: 7.262 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/1.495, allocations: 0.9922 MB / 1.489 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/1.495, allocations: 0 / 1.489 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/1.495, allocations: 23.98 kB / 1.489 GB, free: 6.23 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.495, allocations: 85.88 kB / 1.489 GB, free: 6.145 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/1.497, allocations: 1.007 MB / 1.49 GB, free: 5.137 MB / 1.17 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.007405/1.505, allocations: 3.587 MB / 1.493 GB, free: 1.312 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.506, allocations: 0.627 MB / 1.494 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/1.506, allocations: 354.2 kB / 1.494 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/1.507, allocations: 194.8 kB / 1.495 GB, free: 108 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.507, allocations: 43.12 kB / 1.495 GB, free: 56 kB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 5.4e-06/1.507, allocations: 3.984 kB / 1.495 GB, free: 52 kB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.002245/1.509, allocations: 1.03 MB / 1.496 GB, free: 15.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/1.509, allocations: 115.4 kB / 1.496 GB, free: 14.88 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.51, allocations: 0.8019 MB / 1.497 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/1.51, allocations: 37.7 kB / 1.497 GB, free: 14.02 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/1.511, allocations: 432.6 kB / 1.497 GB, free: 13.6 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/1.511, allocations: 234 kB / 1.497 GB, free: 13.37 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/1.511, allocations: 142.6 kB / 1.497 GB, free: 13.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.512, allocations: 334 kB / 1.498 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/1.512, allocations: 344.7 kB / 1.498 GB, free: 12.55 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/1.513, allocations: 464.7 kB / 1.498 GB, free: 12.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.514, allocations: 0.7665 MB / 1.499 GB, free: 11.27 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.514, allocations: 4 kB / 1.499 GB, free: 11.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001738/1.516, allocations: 0.9377 MB / 1.5 GB, free: 10.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.516, allocations: 10.03 kB / 1.5 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.516, allocations: 0 / 1.5 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/1.516, allocations: 8 kB / 1.5 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/1.517, allocations: 151.8 kB / 1.5 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.517, allocations: 4.281 kB / 1.5 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/1.518, allocations: 91.38 kB / 1.5 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/1.518, allocations: 24 kB / 1.5 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009376/1.519, allocations: 0.537 MB / 1.501 GB, free: 9.496 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006736/1.519, allocations: 450.5 kB / 1.501 GB, free: 9.016 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/1.52, allocations: 0.7369 MB / 1.502 GB, free: 8.242 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/1.52, allocations: 0 / 1.502 GB, free: 8.242 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001646/1.522, allocations: 0.895 MB / 1.503 GB, free: 7.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.522, allocations: 8 kB / 1.503 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.522, allocations: 7.984 kB / 1.503 GB, free: 7.324 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/1.522, allocations: 4 kB / 1.503 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/1.523, allocations: 147.8 kB / 1.503 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.523, allocations: 11.94 kB / 1.503 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/1.524, allocations: 63.64 kB / 1.503 GB, free: 7.102 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/1.524, allocations: 24 kB / 1.503 GB, free: 7.078 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002869/1.524, allocations: 220.1 kB / 1.503 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.524, allocations: 99.39 kB / 1.504 GB, free: 6.758 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.526, allocations: 0.8112 MB / 1.504 GB, free: 5.941 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.526, allocations: 4 kB / 1.504 GB, free: 5.938 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.526, allocations: 3.938 kB / 1.504 GB, free: 5.934 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/1.527, allocations: 0.74 MB / 1.505 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/1.531, allocations: 2.098 MB / 1.507 GB, free: 2.961 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.531, allocations: 7.938 kB / 1.507 GB, free: 2.953 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/1.531, allocations: 131.8 kB / 1.507 GB, free: 2.824 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/1.531, allocations: 7.984 kB / 1.507 GB, free: 2.816 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/1.531, allocations: 16 kB / 1.507 GB, free: 2.801 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.531, allocations: 8 kB / 1.507 GB, free: 2.793 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.531, allocations: 7.938 kB / 1.507 GB, free: 2.785 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.534, allocations: 1.364 MB / 1.509 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/1.534, allocations: 260.3 kB / 1.509 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/1.534, allocations: 19.98 kB / 1.509 GB, free: 1.066 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/1.535, allocations: 29.41 kB / 1.509 GB, free: 1.039 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.535, allocations: 44.27 kB / 1.509 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/1.535, allocations: 32.23 kB / 1.509 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009168/1.536, allocations: 0.5459 MB / 1.509 GB, free: 436 kB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.536, allocations: 4 kB / 1.509 GB, free: 432 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.002211/1.538, allocations: 0.7598 MB / 1.51 GB, free: 15.66 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.001798/1.54, allocations: 0.568 MB / 1.511 GB, free: 15.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.542, allocations: 1.124 MB / 1.512 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.542, allocations: 0 / 1.512 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/1.543, allocations: 355.7 kB / 1.512 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/1.546, allocations: 0.5264 MB / 1.513 GB, free: 13.1 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.55, allocations: 1.947 MB / 1.515 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.551, allocations: 1.077 MB / 1.516 GB, free: 9.965 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001551/1.552, allocations: 418.5 kB / 1.516 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.553, allocations: 75.44 kB / 1.516 GB, free: 9.48 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/1.553, allocations: 0 / 1.516 GB, free: 9.48 MB / 1.201 GB Notification: Performance of Templates: time 0.04475/1.597, allocations: 23.38 MB / 1.539 GB, free: 2.332 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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: 10.434527218341827]