Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 68.38 kB / 1.118 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2518/0.5932, allocations: 194.3 MB / 1.474 GB, free: 8.203 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.6047, allocations: 5.737 MB / 1.479 GB, free: 2.457 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.6065, allocations: 55.5 kB / 1.479 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.6084, allocations: 0.5942 MB / 1.48 GB, free: 1.805 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.6135, allocations: 1.7 MB / 1.481 GB, free: 100 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.6174, allocations: 1.251 MB / 1.483 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.6218, allocations: 2.578 MB / 1.485 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.6233, allocations: 0.7161 MB / 1.486 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.6258, allocations: 1.078 MB / 1.487 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.6281, allocations: 0.8849 MB / 1.488 GB, free: 9.578 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.6284, allocations: 107.9 kB / 1.488 GB, free: 9.473 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.6322, allocations: 1.629 MB / 1.49 GB, free: 7.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.6332, allocations: 0.4908 MB / 1.49 GB, free: 7.348 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.6349, allocations: 0.6261 MB / 1.491 GB, free: 6.719 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.6402, allocations: 2.114 MB / 1.493 GB, free: 4.598 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6403, allocations: 0 / 1.493 GB, free: 4.598 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.576e-06/0.6403, allocations: 3.984 kB / 1.493 GB, free: 4.594 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.07e-05/0.6403, allocations: 0 / 1.493 GB, free: 4.594 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003993/0.6443, allocations: 1.434 MB / 1.494 GB, free: 3.121 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6444, allocations: 12.03 kB / 1.494 GB, free: 3.109 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.6467, allocations: 331 kB / 1.494 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.6486, allocations: 0.7479 MB / 1.495 GB, free: 2.012 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.6487, allocations: 62 kB / 1.495 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.6489, allocations: 87.98 kB / 1.495 GB, free: 1.863 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.6511, allocations: 1.074 MB / 1.496 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.6511, allocations: 7.938 kB / 1.496 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.6512, allocations: 36 kB / 1.496 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.6513, allocations: 34 kB / 1.496 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.653, allocations: 0.8314 MB / 1.497 GB, free: 15.84 MB / 1.201 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.00676/0.6598, allocations: 4.213 MB / 1.501 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.6605, allocations: 354.6 kB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.6608, allocations: 196.8 kB / 1.502 GB, free: 10.81 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.661, allocations: 27.98 kB / 1.502 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.661, allocations: 38.56 kB / 1.502 GB, free: 10.73 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.661, allocations: 0 / 1.502 GB, free: 10.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=38): time 0.002804/0.6638, allocations: 1.278 MB / 1.503 GB, free: 9.426 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.6639, allocations: 55.41 kB / 1.503 GB, free: 9.359 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.6654, allocations: 0.9966 MB / 1.504 GB, free: 8.34 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.6655, allocations: 37.7 kB / 1.504 GB, free: 8.297 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.6659, allocations: 0.5002 MB / 1.505 GB, free: 7.793 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.6661, allocations: 146.8 kB / 1.505 GB, free: 7.648 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.6663, allocations: 122.2 kB / 1.505 GB, free: 7.523 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6665, allocations: 334 kB / 1.505 GB, free: 7.191 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.667, allocations: 233.2 kB / 1.506 GB, free: 6.961 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.6677, allocations: 423.8 kB / 1.506 GB, free: 6.473 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.6704, allocations: 1.139 MB / 1.507 GB, free: 5.254 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6704, allocations: 0 / 1.507 GB, free: 5.254 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001516/0.6719, allocations: 0.7699 MB / 1.508 GB, free: 4.477 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6719, allocations: 8.094 kB / 1.508 GB, free: 4.469 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.672, allocations: 8 kB / 1.508 GB, free: 4.461 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.672, allocations: 11.94 kB / 1.508 GB, free: 4.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.6726, allocations: 151.7 kB / 1.508 GB, free: 4.301 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.6726, allocations: 16 kB / 1.508 GB, free: 4.285 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/0.6735, allocations: 55.94 kB / 1.508 GB, free: 4.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.6736, allocations: 31.98 kB / 1.508 GB, free: 4.199 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.000495/0.6741, allocations: 309.5 kB / 1.508 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.6743, allocations: 103.4 kB / 1.508 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.6745, allocations: 105 kB / 1.509 GB, free: 3.68 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6745, allocations: 4 kB / 1.509 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6745, allocations: 4 kB / 1.509 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008557/0.6753, allocations: 0.6867 MB / 1.509 GB, free: 2.898 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6782, allocations: 1.541 MB / 1.511 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6782, allocations: 8.031 kB / 1.511 GB, free: 1.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.6786, allocations: 95.77 kB / 1.511 GB, free: 1.156 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.6786, allocations: 4 kB / 1.511 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6786, allocations: 12 kB / 1.511 GB, free: 1.141 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.6787, allocations: 15.94 kB / 1.511 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6787, allocations: 4 kB / 1.511 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.6799, allocations: 0.8404 MB / 1.512 GB, free: 224 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.6803, allocations: 159.3 kB / 1.512 GB, free: 64 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.6804, allocations: 23.92 kB / 1.512 GB, free: 40 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.6811, allocations: 42.56 kB / 1.512 GB, free: 0 / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.6812, allocations: 35.91 kB / 1.512 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.6813, allocations: 31.98 kB / 1.512 GB, free: 15.93 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001137/0.6824, allocations: 0.7077 MB / 1.513 GB, free: 15.21 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6824, allocations: 0 / 1.513 GB, free: 15.21 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008787/0.6833, allocations: 251.9 kB / 1.513 GB, free: 14.96 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0003952/0.6837, allocations: 197.9 kB / 1.513 GB, free: 14.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009989/0.6847, allocations: 491.7 kB / 1.514 GB, free: 14.29 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6847, allocations: 3.938 kB / 1.514 GB, free: 14.28 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.685, allocations: 177.1 kB / 1.514 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.6877, allocations: 0.6233 MB / 1.514 GB, free: 13.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.6908, allocations: 1.857 MB / 1.516 GB, free: 11.55 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.6917, allocations: 1.099 MB / 1.517 GB, free: 10.43 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.6925, allocations: 256.4 kB / 1.517 GB, free: 10.17 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.6927, allocations: 75.41 kB / 1.518 GB, free: 10.1 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.6927, allocations: 0 / 1.518 GB, free: 10.1 MB / 1.217 GB Notification: Performance of Templates: time 0.04184/0.7345, allocations: 20.48 MB / 1.538 GB, free: 5.91 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.269705775659531]