Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001656, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001727/0.001727, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.65/1.65, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.765/2.765, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.91 kB / 0.8685 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7492, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2349/0.9841, allocations: 186.2 MB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01985/1.004, allocations: 11.18 MB / 1.209 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/1.006, allocations: 43.69 kB / 1.209 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.008, allocations: 429.7 kB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007058/1.015, allocations: 2.424 MB / 1.212 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00614/1.021, allocations: 2.066 MB / 1.214 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005425/1.026, allocations: 3.987 MB / 1.218 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.027, allocations: 0.6582 MB / 1.219 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/1.029, allocations: 0.8674 MB / 1.22 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/1.032, allocations: 1.061 MB / 1.221 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/1.032, allocations: 52 kB / 1.221 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006934/1.039, allocations: 3.293 MB / 1.224 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007438/1.04, allocations: 398.8 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009737/1.041, allocations: 0.5286 MB / 1.225 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007803/1.048, allocations: 3.027 MB / 1.228 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.048, allocations: 0 / 1.228 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/1.048, allocations: 0 / 1.228 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.755e-05/1.048, allocations: 4 kB / 1.228 GB, free: 9.844 MB / 0.9825 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.00453/1.053, allocations: 1.666 MB / 1.229 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.053, allocations: 15.98 kB / 1.229 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/1.055, allocations: 298.3 kB / 1.23 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.057, allocations: 0.7805 MB / 1.23 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/1.057, allocations: 61.3 kB / 1.231 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/1.057, allocations: 59.98 kB / 1.231 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/1.059, allocations: 0.996 MB / 1.232 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.059, allocations: 0 / 1.232 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/1.059, allocations: 31.92 kB / 1.232 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.059, allocations: 73.95 kB / 1.232 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/1.061, allocations: 1.011 MB / 1.233 GB, free: 4.746 MB / 0.9825 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.006981/1.068, allocations: 3.563 MB / 1.236 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.069, allocations: 0.6692 MB / 1.237 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/1.07, allocations: 376.3 kB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/1.07, allocations: 198.8 kB / 1.237 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.07, allocations: 43.06 kB / 1.237 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/1.07, allocations: 3.938 kB / 1.237 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62): time 0.002178/1.073, allocations: 1.025 MB / 1.238 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/1.073, allocations: 115.4 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.074, allocations: 0.8019 MB / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/1.074, allocations: 37.7 kB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/1.075, allocations: 420 kB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.075, allocations: 220.9 kB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.075, allocations: 138.6 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.075, allocations: 334 kB / 1.24 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/1.076, allocations: 344.7 kB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/1.077, allocations: 468.7 kB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.078, allocations: 0.7665 MB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.078, allocations: 4 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001971/1.08, allocations: 0.9294 MB / 1.243 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.08, allocations: 8 kB / 1.243 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.08, allocations: 0 / 1.243 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.08, allocations: 8 kB / 1.243 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/1.081, allocations: 152 kB / 1.243 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/1.081, allocations: 11.94 kB / 1.243 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.082, allocations: 115.1 kB / 1.243 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/1.082, allocations: 27.98 kB / 1.243 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/1.083, allocations: 0.537 MB / 1.244 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008063/1.084, allocations: 451.5 kB / 1.244 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00124/1.085, allocations: 0.7331 MB / 1.245 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/1.085, allocations: 0 / 1.245 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001677/1.087, allocations: 0.8826 MB / 1.246 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.087, allocations: 8.281 kB / 1.246 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.087, allocations: 8 kB / 1.246 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/1.087, allocations: 4 kB / 1.246 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/1.088, allocations: 155.7 kB / 1.246 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.088, allocations: 8 kB / 1.246 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/1.089, allocations: 91.39 kB / 1.246 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/1.089, allocations: 27.98 kB / 1.246 GB, free: 6.609 MB / 0.9981 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.0002899/1.089, allocations: 224 kB / 1.246 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.089, allocations: 94.88 kB / 1.246 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/1.091, allocations: 0.8104 MB / 1.247 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.091, allocations: 4 kB / 1.247 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.091, allocations: 8 kB / 1.247 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.092, allocations: 0.7399 MB / 1.248 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/1.096, allocations: 2.086 MB / 1.25 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.096, allocations: 8.375 kB / 1.25 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/1.096, allocations: 135.8 kB / 1.25 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.096, allocations: 8 kB / 1.25 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/1.097, allocations: 19.98 kB / 1.25 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/1.097, allocations: 7.938 kB / 1.25 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.097, allocations: 4 kB / 1.25 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.099, allocations: 1.356 MB / 1.251 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/1.099, allocations: 259.9 kB / 1.252 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.099, allocations: 23.98 kB / 1.252 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/1.1, allocations: 43.88 kB / 1.252 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/1.1, allocations: 52.25 kB / 1.252 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/1.1, allocations: 23.98 kB / 1.252 GB, free: 500 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5904/1.691, allocations: 0.5556 MB / 1.252 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.01e-07/1.691, allocations: 0 / 1.252 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003456/1.694, allocations: 0.7474 MB / 1.253 GB, free: 233.4 MB / 0.9981 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.002052/1.696, allocations: 0.5423 MB / 1.253 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002793/1.699, allocations: 1.175 MB / 1.255 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.699, allocations: 1.5 kB / 1.255 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/1.7, allocations: 371.4 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.702, allocations: 0.5035 MB / 1.255 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/1.706, allocations: 2.241 MB / 1.258 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009939/1.707, allocations: 1.077 MB / 1.259 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001963/1.709, allocations: 417.7 kB / 1.259 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.709, allocations: 81.66 kB / 1.259 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.304e-06/1.709, allocations: 0 / 1.259 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04799/1.757, allocations: 22.06 MB / 1.281 GB, free: 223.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches