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.00159/0.00159, allocations: 105.2 kB / 15.98 MB, free: 6.348 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.001551/0.001551, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.53/2.53, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 72.36 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6953/1.014, allocations: 186 MB / 1.199 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.016/1.03, allocations: 10.84 MB / 1.21 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/1.031, allocations: 46.25 kB / 1.21 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.033, allocations: 448.3 kB / 1.21 GB, free: 232 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/1.039, allocations: 2.426 MB / 1.213 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00567/1.045, allocations: 2.246 MB / 1.215 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003543/1.049, allocations: 2.773 MB / 1.217 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/1.05, allocations: 0.7673 MB / 1.218 GB, free: 10.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/1.052, allocations: 1.007 MB / 1.219 GB, free: 10.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/1.054, allocations: 1.123 MB / 1.22 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/1.054, allocations: 95.28 kB / 1.22 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/1.06, allocations: 3.072 MB / 1.223 GB, free: 7.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006565/1.061, allocations: 442.8 kB / 1.224 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/1.062, allocations: 0.5871 MB / 1.224 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/1.066, allocations: 2.121 MB / 1.226 GB, free: 3.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.066, allocations: 4 kB / 1.226 GB, free: 3.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/1.066, allocations: 0 / 1.226 GB, free: 3.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.651e-05/1.066, allocations: 0 / 1.226 GB, free: 3.941 MB / 0.92 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.003786/1.069, allocations: 1.678 MB / 1.228 GB, free: 2.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.069, allocations: 12.88 kB / 1.228 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/1.071, allocations: 290.4 kB / 1.228 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.073, allocations: 0.7804 MB / 1.229 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/1.073, allocations: 57.3 kB / 1.229 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.073, allocations: 63.92 kB / 1.229 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/1.075, allocations: 0.9961 MB / 1.23 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/1.075, allocations: 0 / 1.23 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/1.075, allocations: 31.92 kB / 1.23 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/1.075, allocations: 77.91 kB / 1.23 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/1.076, allocations: 1.007 MB / 1.231 GB, free: 14.85 MB / 0.9356 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.006214/1.083, allocations: 3.574 MB / 1.235 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.084, allocations: 0.6618 MB / 1.235 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/1.085, allocations: 384.9 kB / 1.236 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/1.085, allocations: 194.8 kB / 1.236 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/1.085, allocations: 43.12 kB / 1.236 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.245e-06/1.085, allocations: 0 / 1.236 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002079/1.087, allocations: 1.021 MB / 1.237 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.087, allocations: 107.4 kB / 1.237 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.088, allocations: 0.8135 MB / 1.238 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/1.088, allocations: 37.7 kB / 1.238 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/1.089, allocations: 424 kB / 1.238 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.089, allocations: 220.8 kB / 1.239 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.089, allocations: 142.6 kB / 1.239 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.089, allocations: 338 kB / 1.239 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/1.09, allocations: 344.7 kB / 1.239 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/1.091, allocations: 456.8 kB / 1.24 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.092, allocations: 0.7665 MB / 1.241 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.092, allocations: 0 / 1.241 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001649/1.094, allocations: 0.9411 MB / 1.241 GB, free: 4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.094, allocations: 4 kB / 1.241 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.094, allocations: 4.281 kB / 1.241 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.094, allocations: 8 kB / 1.241 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.094, allocations: 147.8 kB / 1.242 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.094, allocations: 7.984 kB / 1.242 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/1.095, allocations: 111.1 kB / 1.242 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/1.095, allocations: 24 kB / 1.242 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008799/1.096, allocations: 0.537 MB / 1.242 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006704/1.097, allocations: 454.4 kB / 1.243 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/1.098, allocations: 0.7292 MB / 1.243 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.653e-06/1.098, allocations: 3.984 kB / 1.243 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001562/1.1, allocations: 0.8905 MB / 1.244 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.1, allocations: 8 kB / 1.244 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.1, allocations: 7.938 kB / 1.244 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.1, allocations: 7.984 kB / 1.244 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/1.1, allocations: 147.8 kB / 1.244 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.1, allocations: 8 kB / 1.244 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/1.101, allocations: 99.55 kB / 1.245 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/1.101, allocations: 24 kB / 1.245 GB, free: 0.7109 MB / 0.9356 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.0002427/1.102, allocations: 218.7 kB / 1.245 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.102, allocations: 102.8 kB / 1.245 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/1.103, allocations: 0.8067 MB / 1.246 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.103, allocations: 4 kB / 1.246 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.103, allocations: 0 / 1.246 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/1.104, allocations: 0.7467 MB / 1.246 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/1.108, allocations: 2.098 MB / 1.248 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.108, allocations: 4 kB / 1.248 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/1.108, allocations: 135.8 kB / 1.249 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.108, allocations: 4 kB / 1.249 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/1.108, allocations: 23.94 kB / 1.249 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/1.109, allocations: 4 kB / 1.249 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.109, allocations: 4 kB / 1.249 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.111, allocations: 1.356 MB / 1.25 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/1.111, allocations: 263.8 kB / 1.25 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.111, allocations: 15.94 kB / 1.25 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/1.112, allocations: 47.88 kB / 1.25 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/1.112, allocations: 56.25 kB / 1.25 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/1.112, allocations: 20 kB / 1.25 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007562/1.113, allocations: 0.5576 MB / 1.251 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/1.113, allocations: 0 / 1.251 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001788/1.115, allocations: 0.7489 MB / 1.252 GB, free: 9.293 MB / 0.9512 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.001312/1.116, allocations: 0.546 MB / 1.252 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002454/1.118, allocations: 1.32 MB / 1.253 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.118, allocations: 0 / 1.253 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/1.119, allocations: 374.4 kB / 1.254 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.121, allocations: 0.5307 MB / 1.254 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/1.125, allocations: 2.306 MB / 1.257 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/1.126, allocations: 1.077 MB / 1.258 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/1.126, allocations: 79.42 kB / 1.258 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/1.126, allocations: 0 / 1.258 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of Templates: time 0.0296/1.156, allocations: 18.46 MB / 1.276 GB, free: 0.6445 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches