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.001188/0.001188, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001178/0.001178, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 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.423/2.423, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9112, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1997/1.111, allocations: 187.9 MB / 1.351 GB, free: 7.277 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.126, allocations: 10.74 MB / 1.361 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/1.128, allocations: 39.75 kB / 1.361 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/1.13, allocations: 0.5165 MB / 1.362 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006967/1.137, allocations: 2.657 MB / 1.364 GB, free: 9.277 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/1.143, allocations: 2.467 MB / 1.367 GB, free: 6.816 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003811/1.146, allocations: 2.776 MB / 1.37 GB, free: 4.031 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.148, allocations: 0.7839 MB / 1.37 GB, free: 3.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/1.15, allocations: 1.028 MB / 1.371 GB, free: 2.199 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/1.152, allocations: 1.051 MB / 1.372 GB, free: 1.145 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/1.152, allocations: 96 kB / 1.372 GB, free: 1.051 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005896/1.158, allocations: 3.017 MB / 1.375 GB, free: 14.03 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/1.159, allocations: 442.8 kB / 1.376 GB, free: 13.59 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/1.16, allocations: 0.5755 MB / 1.376 GB, free: 13.02 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00693/1.167, allocations: 2.957 MB / 1.379 GB, free: 10.05 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.167, allocations: 0 / 1.379 GB, free: 10.05 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.515e-06/1.167, allocations: 0 / 1.379 GB, free: 10.05 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.432e-05/1.167, allocations: 0 / 1.379 GB, free: 10.05 MB / 1.107 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.004208/1.172, allocations: 1.678 MB / 1.381 GB, free: 8.32 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.172, allocations: 12.88 kB / 1.381 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/1.173, allocations: 290.4 kB / 1.381 GB, free: 8.023 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.175, allocations: 0.8312 MB / 1.382 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/1.175, allocations: 57.28 kB / 1.382 GB, free: 7.09 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.175, allocations: 67.98 kB / 1.382 GB, free: 7.023 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/1.177, allocations: 0.9883 MB / 1.383 GB, free: 6.02 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.177, allocations: 0 / 1.383 GB, free: 6.02 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/1.177, allocations: 27.98 kB / 1.383 GB, free: 5.992 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/1.177, allocations: 73.89 kB / 1.383 GB, free: 5.918 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/1.179, allocations: 1.019 MB / 1.384 GB, free: 4.902 MB / 1.107 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.006323/1.185, allocations: 3.57 MB / 1.388 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.186, allocations: 0.6647 MB / 1.388 GB, free: 436 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/1.187, allocations: 378.3 kB / 1.389 GB, free: 56 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/1.187, allocations: 198.8 kB / 1.389 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.187, allocations: 43.11 kB / 1.389 GB, free: 15.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=62): time 4.769e-06/1.187, allocations: 0 / 1.389 GB, free: 15.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=62): time 0.001952/1.189, allocations: 1.029 MB / 1.39 GB, free: 14.74 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/1.189, allocations: 111.4 kB / 1.39 GB, free: 14.61 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.19, allocations: 0.8019 MB / 1.391 GB, free: 13.8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/1.19, allocations: 45.69 kB / 1.391 GB, free: 13.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/1.19, allocations: 420.1 kB / 1.391 GB, free: 13.33 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/1.191, allocations: 228.7 kB / 1.391 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/1.191, allocations: 142.6 kB / 1.392 GB, free: 12.96 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.191, allocations: 337.9 kB / 1.392 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/1.192, allocations: 344.7 kB / 1.392 GB, free: 12.29 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006117/1.192, allocations: 460.8 kB / 1.393 GB, free: 11.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.193, allocations: 0.7626 MB / 1.393 GB, free: 11 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.193, allocations: 8 kB / 1.393 GB, free: 11 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001555/1.195, allocations: 0.9294 MB / 1.394 GB, free: 10.06 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.195, allocations: 4 kB / 1.394 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.195, allocations: 4 kB / 1.394 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.195, allocations: 4 kB / 1.394 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/1.196, allocations: 147.8 kB / 1.394 GB, free: 9.902 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/1.196, allocations: 8.266 kB / 1.394 GB, free: 9.895 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/1.197, allocations: 91.05 kB / 1.395 GB, free: 9.805 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/1.197, allocations: 28 kB / 1.395 GB, free: 9.777 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008692/1.198, allocations: 0.537 MB / 1.395 GB, free: 9.234 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005842/1.198, allocations: 450.5 kB / 1.396 GB, free: 8.754 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/1.199, allocations: 0.7369 MB / 1.396 GB, free: 7.977 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/1.199, allocations: 0 / 1.396 GB, free: 7.977 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001466/1.201, allocations: 0.8906 MB / 1.397 GB, free: 7.078 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.201, allocations: 10.81 kB / 1.397 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/1.201, allocations: 4 kB / 1.397 GB, free: 7.066 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/1.201, allocations: 4 kB / 1.397 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/1.201, allocations: 143.8 kB / 1.397 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.201, allocations: 4.125 kB / 1.397 GB, free: 6.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/1.202, allocations: 71.41 kB / 1.397 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.202, allocations: 32 kB / 1.397 GB, free: 6.816 MB / 1.123 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.0002386/1.203, allocations: 228 kB / 1.398 GB, free: 6.586 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.203, allocations: 90.88 kB / 1.398 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.204, allocations: 0.8008 MB / 1.398 GB, free: 5.688 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.204, allocations: 8 kB / 1.398 GB, free: 5.68 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.204, allocations: 0 / 1.398 GB, free: 5.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009852/1.205, allocations: 0.7477 MB / 1.399 GB, free: 4.902 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/1.208, allocations: 2.098 MB / 1.401 GB, free: 2.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.208, allocations: 7.938 kB / 1.401 GB, free: 2.699 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/1.209, allocations: 139.8 kB / 1.401 GB, free: 2.562 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.209, allocations: 4 kB / 1.401 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/1.209, allocations: 16 kB / 1.401 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/1.209, allocations: 8 kB / 1.401 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.209, allocations: 4 kB / 1.401 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/1.211, allocations: 1.36 MB / 1.403 GB, free: 1.113 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/1.211, allocations: 255.8 kB / 1.403 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.212, allocations: 19.94 kB / 1.403 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/1.212, allocations: 30.62 kB / 1.403 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/1.212, allocations: 44.33 kB / 1.403 GB, free: 0.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/1.212, allocations: 23.98 kB / 1.403 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007071/1.213, allocations: 0.5576 MB / 1.404 GB, free: 180 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.213, allocations: 0 / 1.404 GB, free: 180 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001753/1.215, allocations: 0.745 MB / 1.404 GB, free: 15.43 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.001243/1.216, allocations: 0.5459 MB / 1.405 GB, free: 14.88 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.218, allocations: 1.19 MB / 1.406 GB, free: 13.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.218, allocations: 0 / 1.406 GB, free: 13.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/1.219, allocations: 371.7 kB / 1.406 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.221, allocations: 0.5362 MB / 1.407 GB, free: 12.81 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.224, allocations: 1.962 MB / 1.409 GB, free: 10.76 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/1.225, allocations: 1.085 MB / 1.41 GB, free: 9.645 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/1.225, allocations: 75.44 kB / 1.41 GB, free: 9.57 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.225, allocations: 0 / 1.41 GB, free: 9.57 MB / 1.139 GB Notification: Performance of Templates: time 0.02752/1.253, allocations: 18.57 MB / 1.428 GB, free: 7.125 MB / 1.154 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=480 -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