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) 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.1.0-maint.11.x/package.mo", uses=false) 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=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_11_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_11_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.008414/0.008414, allocations: 95.48 kB / 15.73 MB, free: 6.055 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.001617/0.001617, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4038, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 1.088/1.492, allocations: 188.4 MB / 1.405 GB, free: 1.871 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02036/1.512, allocations: 10.78 MB / 1.415 GB, free: 9.18 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/1.515, allocations: 39.41 kB / 1.415 GB, free: 9.164 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/1.517, allocations: 0.5079 MB / 1.416 GB, free: 8.742 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00886/1.526, allocations: 2.669 MB / 1.418 GB, free: 6.758 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008567/1.534, allocations: 2.476 MB / 1.421 GB, free: 5.086 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004957/1.539, allocations: 2.766 MB / 1.423 GB, free: 3.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/1.541, allocations: 0.664 MB / 1.424 GB, free: 3.066 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/1.543, allocations: 1.036 MB / 1.425 GB, free: 2.469 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/1.546, allocations: 1.057 MB / 1.426 GB, free: 1.863 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/1.546, allocations: 96.53 kB / 1.426 GB, free: 1.863 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007115/1.553, allocations: 3.016 MB / 1.429 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000906/1.554, allocations: 458.6 kB / 1.429 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.556, allocations: 0.5833 MB / 1.43 GB, free: 14.74 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007489/1.563, allocations: 2.967 MB / 1.433 GB, free: 11.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.563, allocations: 0 / 1.433 GB, free: 11.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.024e-06/1.563, allocations: 0 / 1.433 GB, free: 11.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.733e-05/1.563, allocations: 0 / 1.433 GB, free: 11.77 MB / 1.123 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.004764/1.568, allocations: 1.718 MB / 1.435 GB, free: 9.992 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.568, allocations: 8.031 kB / 1.435 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/1.57, allocations: 307 kB / 1.435 GB, free: 9.684 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.572, allocations: 0.8319 MB / 1.436 GB, free: 8.809 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/1.572, allocations: 53.28 kB / 1.436 GB, free: 8.754 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/1.572, allocations: 79.84 kB / 1.436 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.574, allocations: 0.9972 MB / 1.437 GB, free: 7.668 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.574, allocations: 0 / 1.437 GB, free: 7.668 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/1.574, allocations: 23.98 kB / 1.437 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/1.574, allocations: 73.95 kB / 1.437 GB, free: 7.57 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/1.576, allocations: 1.007 MB / 1.438 GB, free: 6.566 MB / 1.123 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.006848/1.583, allocations: 3.583 MB / 1.441 GB, free: 2.746 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.584, allocations: 0.6268 MB / 1.442 GB, free: 2.113 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/1.585, allocations: 368.5 kB / 1.442 GB, free: 1.754 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/1.585, allocations: 194.8 kB / 1.443 GB, free: 1.527 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/1.585, allocations: 43.11 kB / 1.443 GB, free: 1.477 MB / 1.123 GB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/1.585, allocations: 0 / 1.443 GB, free: 1.477 MB / 1.123 GB Notification: Performance of matching and sorting (n=62): time 0.002166/1.587, allocations: 1.022 MB / 1.444 GB, free: 464 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/1.587, allocations: 111.4 kB / 1.444 GB, free: 324 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.589, allocations: 0.8019 MB / 1.445 GB, free: 15.5 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/1.589, allocations: 41.64 kB / 1.445 GB, free: 15.46 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/1.589, allocations: 440.7 kB / 1.445 GB, free: 15.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/1.589, allocations: 230 kB / 1.445 GB, free: 14.8 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.59, allocations: 142.6 kB / 1.445 GB, free: 14.65 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.59, allocations: 337.9 kB / 1.446 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/1.59, allocations: 340.7 kB / 1.446 GB, free: 13.98 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/1.591, allocations: 460.8 kB / 1.446 GB, free: 13.5 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.592, allocations: 0.7695 MB / 1.447 GB, free: 12.7 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.592, allocations: 0 / 1.447 GB, free: 12.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001645/1.594, allocations: 0.9416 MB / 1.448 GB, free: 11.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.594, allocations: 8 kB / 1.448 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.594, allocations: 0 / 1.448 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.594, allocations: 8 kB / 1.448 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/1.595, allocations: 147.8 kB / 1.448 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.595, allocations: 11.92 kB / 1.448 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/1.595, allocations: 83.39 kB / 1.448 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/1.596, allocations: 24.28 kB / 1.448 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000882/1.596, allocations: 0.5409 MB / 1.449 GB, free: 10.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006517/1.597, allocations: 450.4 kB / 1.449 GB, free: 10.45 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/1.598, allocations: 0.737 MB / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.598, allocations: 0 / 1.45 GB, free: 9.676 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001545/1.6, allocations: 0.8986 MB / 1.451 GB, free: 8.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.6, allocations: 11.94 kB / 1.451 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.6, allocations: 4 kB / 1.451 GB, free: 8.754 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/1.6, allocations: 8.281 kB / 1.451 GB, free: 8.746 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/1.6, allocations: 147.8 kB / 1.451 GB, free: 8.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.6, allocations: 11.94 kB / 1.451 GB, free: 8.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008416/1.601, allocations: 63.64 kB / 1.451 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/1.601, allocations: 24 kB / 1.451 GB, free: 8.504 MB / 1.139 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.0002639/1.602, allocations: 220.1 kB / 1.451 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/1.602, allocations: 103.3 kB / 1.451 GB, free: 8.18 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/1.603, allocations: 0.8118 MB / 1.452 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.603, allocations: 4 kB / 1.452 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.603, allocations: 0 / 1.452 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/1.604, allocations: 0.7438 MB / 1.453 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/1.608, allocations: 2.094 MB / 1.455 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.608, allocations: 5.312 kB / 1.455 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/1.609, allocations: 139.8 kB / 1.455 GB, free: 4.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.609, allocations: 4 kB / 1.455 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/1.609, allocations: 16 kB / 1.455 GB, free: 4.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.609, allocations: 11.94 kB / 1.455 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.609, allocations: 5.5 kB / 1.455 GB, free: 4.215 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/1.611, allocations: 1.36 MB / 1.457 GB, free: 2.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/1.611, allocations: 264.3 kB / 1.457 GB, free: 2.516 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/1.611, allocations: 16 kB / 1.457 GB, free: 2.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/1.612, allocations: 23.98 kB / 1.457 GB, free: 2.477 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/1.612, allocations: 48.27 kB / 1.457 GB, free: 2.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/1.612, allocations: 27.98 kB / 1.457 GB, free: 2.402 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000795/1.613, allocations: 0.5537 MB / 1.457 GB, free: 1.855 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.613, allocations: 0 / 1.457 GB, free: 1.855 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002076/1.615, allocations: 0.7597 MB / 1.458 GB, free: 1.094 MB / 1.139 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.001445/1.616, allocations: 0.5576 MB / 1.459 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.618, allocations: 1.12 MB / 1.46 GB, free: 15.42 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.618, allocations: 4.375 kB / 1.46 GB, free: 15.41 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/1.619, allocations: 350.2 kB / 1.46 GB, free: 15.07 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.621, allocations: 0.5304 MB / 1.461 GB, free: 14.55 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.625, allocations: 1.939 MB / 1.463 GB, free: 12.54 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/1.626, allocations: 1.077 MB / 1.464 GB, free: 11.43 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001291/1.627, allocations: 428.5 kB / 1.464 GB, free: 11.01 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/1.627, allocations: 75.44 kB / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of SimCode: time 9.52e-07/1.627, allocations: 0 / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of Templates: time 0.04105/1.668, allocations: 23.09 MB / 1.487 GB, free: 4.066 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) 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) Reference file matches