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.001435/0.001436, allocations: 104.5 kB / 15.99 MB, free: 6.355 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.001414/0.001414, allocations: 195.9 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.39 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3475, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.772/1.12, allocations: 186 MB / 1.246 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.138, allocations: 10.83 MB / 1.256 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/1.14, allocations: 43.69 kB / 1.256 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/1.142, allocations: 441.7 kB / 1.257 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007188/1.149, allocations: 2.421 MB / 1.259 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006161/1.156, allocations: 2.253 MB / 1.261 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004098/1.16, allocations: 2.794 MB / 1.264 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/1.161, allocations: 0.7488 MB / 1.265 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/1.163, allocations: 1.008 MB / 1.266 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/1.165, allocations: 1.116 MB / 1.267 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/1.166, allocations: 100 kB / 1.267 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006138/1.172, allocations: 3.075 MB / 1.27 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006679/1.172, allocations: 442.8 kB / 1.27 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008905/1.173, allocations: 0.5794 MB / 1.271 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/1.177, allocations: 2.136 MB / 1.273 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.178, allocations: 0 / 1.273 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.557e-06/1.178, allocations: 4 kB / 1.273 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.561e-05/1.178, allocations: 4 kB / 1.273 GB, free: 3.137 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.004026/1.182, allocations: 1.666 MB / 1.275 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.182, allocations: 8.031 kB / 1.275 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.184, allocations: 286.5 kB / 1.275 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.185, allocations: 0.7844 MB / 1.276 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/1.185, allocations: 57.23 kB / 1.276 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.185, allocations: 63.98 kB / 1.276 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.187, allocations: 0.996 MB / 1.277 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.187, allocations: 0 / 1.277 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/1.187, allocations: 27.98 kB / 1.277 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/1.187, allocations: 73.94 kB / 1.277 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/1.189, allocations: 1.007 MB / 1.278 GB, free: 14.06 MB / 0.9981 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.006495/1.195, allocations: 3.586 MB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.197, allocations: 0.6588 MB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/1.197, allocations: 384 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/1.197, allocations: 198.7 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/1.197, allocations: 43.11 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=62): time 2.956e-06/1.197, allocations: 0 / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62): time 0.002139/1.2, allocations: 1.025 MB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.2, allocations: 111.4 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.201, allocations: 0.8019 MB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/1.201, allocations: 41.7 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/1.201, allocations: 420.1 kB / 1.285 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/1.202, allocations: 224.7 kB / 1.285 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.202, allocations: 142.6 kB / 1.285 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.202, allocations: 334 kB / 1.286 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/1.203, allocations: 344.7 kB / 1.286 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/1.203, allocations: 461.5 kB / 1.286 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.205, allocations: 0.7666 MB / 1.287 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.205, allocations: 4 kB / 1.287 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0016/1.206, allocations: 0.9294 MB / 1.288 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.206, allocations: 11.94 kB / 1.288 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.206, allocations: 0 / 1.288 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.206, allocations: 8.281 kB / 1.288 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/1.207, allocations: 152.4 kB / 1.288 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.207, allocations: 4 kB / 1.288 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/1.208, allocations: 111.1 kB / 1.288 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/1.208, allocations: 28.88 kB / 1.288 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000902/1.209, allocations: 0.537 MB / 1.289 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006764/1.21, allocations: 458.4 kB / 1.289 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/1.211, allocations: 0.7253 MB / 1.29 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/1.211, allocations: 0 / 1.29 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001541/1.212, allocations: 0.8945 MB / 1.291 GB, free: 216 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.212, allocations: 8 kB / 1.291 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.212, allocations: 4 kB / 1.291 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/1.212, allocations: 11.88 kB / 1.291 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/1.213, allocations: 143.8 kB / 1.291 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.213, allocations: 8 kB / 1.291 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/1.214, allocations: 92.97 kB / 1.291 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/1.214, allocations: 28 kB / 1.291 GB, free: 15.92 MB / 1.014 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.0002798/1.214, allocations: 220.1 kB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.214, allocations: 94.81 kB / 1.292 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/1.216, allocations: 0.806 MB / 1.292 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.216, allocations: 4 kB / 1.292 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.216, allocations: 4 kB / 1.292 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/1.217, allocations: 0.7438 MB / 1.293 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/1.221, allocations: 2.09 MB / 1.295 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.221, allocations: 4 kB / 1.295 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/1.221, allocations: 143.7 kB / 1.295 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.221, allocations: 8 kB / 1.295 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/1.221, allocations: 16.12 kB / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/1.221, allocations: 11.94 kB / 1.295 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.221, allocations: 7.938 kB / 1.295 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.223, allocations: 1.36 MB / 1.297 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/1.224, allocations: 255.8 kB / 1.297 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.224, allocations: 16 kB / 1.297 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/1.225, allocations: 43.88 kB / 1.297 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.225, allocations: 56.44 kB / 1.297 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/1.225, allocations: 20 kB / 1.297 GB, free: 9.809 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007677/1.226, allocations: 0.5615 MB / 1.298 GB, free: 9.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.226, allocations: 0 / 1.298 GB, free: 9.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001975/1.228, allocations: 0.7489 MB / 1.298 GB, free: 8.5 MB / 1.014 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.001402/1.229, allocations: 0.5524 MB / 1.299 GB, free: 7.949 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002423/1.231, allocations: 1.315 MB / 1.3 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.231, allocations: 1.125 kB / 1.3 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/1.232, allocations: 378.8 kB / 1.3 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.234, allocations: 0.5323 MB / 1.301 GB, free: 5.758 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/1.238, allocations: 2.295 MB / 1.303 GB, free: 3.383 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/1.239, allocations: 1.081 MB / 1.304 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/1.239, allocations: 79.44 kB / 1.304 GB, free: 2.195 MB / 1.014 GB Notification: Performance of SimCode: time 2.345e-06/1.239, allocations: 0 / 1.304 GB, free: 2.195 MB / 1.014 GB Notification: Performance of Templates: time 0.02988/1.269, allocations: 18.48 MB / 1.322 GB, free: 15.83 MB / 1.045 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches