Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001411/0.001411, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001604/0.001604, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.511/3.511, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002397/0.002397, allocations: 73.75 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4317, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2461/0.6778, allocations: 168.3 MB / 1.491 GB, free: 8.031 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.6887, allocations: 5.418 MB / 1.497 GB, free: 2.602 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.691, allocations: 51.56 kB / 1.497 GB, free: 2.551 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.6932, allocations: 0.5474 MB / 1.497 GB, free: 2 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.6984, allocations: 1.677 MB / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.7022, allocations: 1.233 MB / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00456/0.7068, allocations: 2.57 MB / 1.503 GB, free: 12.51 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.7081, allocations: 0.72 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.7108, allocations: 1.261 MB / 1.505 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.7127, allocations: 0.8661 MB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.7129, allocations: 100 kB / 1.506 GB, free: 9.547 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.7157, allocations: 1.274 MB / 1.507 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005934/0.7163, allocations: 0.4908 MB / 1.507 GB, free: 7.777 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007035/0.717, allocations: 0.5213 MB / 1.508 GB, free: 7.254 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.7205, allocations: 2.075 MB / 1.51 GB, free: 5.172 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7205, allocations: 3.938 kB / 1.51 GB, free: 5.168 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7205, allocations: 0 / 1.51 GB, free: 5.168 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.7205, allocations: 4 kB / 1.51 GB, free: 5.164 MB / 1.201 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.002713/0.7233, allocations: 1.438 MB / 1.511 GB, free: 3.688 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7233, allocations: 8.031 kB / 1.511 GB, free: 3.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.7253, allocations: 334.9 kB / 1.512 GB, free: 3.352 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.7268, allocations: 0.744 MB / 1.512 GB, free: 2.578 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.7269, allocations: 69.98 kB / 1.512 GB, free: 2.508 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7271, allocations: 84 kB / 1.512 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.7292, allocations: 1.476 MB / 1.514 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.7292, allocations: 4 kB / 1.514 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.7293, allocations: 32 kB / 1.514 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/0.7293, allocations: 34 kB / 1.514 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.7309, allocations: 0.8313 MB / 1.515 GB, free: 15.91 MB / 1.217 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.005575/0.7365, allocations: 3.077 MB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.7371, allocations: 359.8 kB / 1.518 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.7374, allocations: 200.8 kB / 1.518 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.7376, allocations: 23.98 kB / 1.518 GB, free: 12.17 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.7377, allocations: 42.56 kB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.7377, allocations: 0 / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.00278/0.7404, allocations: 1.249 MB / 1.52 GB, free: 10.83 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.7405, allocations: 59.34 kB / 1.52 GB, free: 10.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7417, allocations: 0.7308 MB / 1.52 GB, free: 10.03 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.7418, allocations: 37.7 kB / 1.52 GB, free: 9.984 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.7424, allocations: 0.519 MB / 1.521 GB, free: 9.457 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.7426, allocations: 142.8 kB / 1.521 GB, free: 9.316 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.7428, allocations: 122.2 kB / 1.521 GB, free: 9.191 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002788/0.7431, allocations: 378.8 kB / 1.522 GB, free: 8.812 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.7436, allocations: 237.2 kB / 1.522 GB, free: 8.582 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/0.7444, allocations: 475.2 kB / 1.522 GB, free: 8.027 MB / 1.217 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.002681/0.747, allocations: 1.146 MB / 1.523 GB, free: 6.801 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.747, allocations: 0 / 1.523 GB, free: 6.801 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001473/0.7485, allocations: 0.743 MB / 1.524 GB, free: 6.051 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7485, allocations: 12.09 kB / 1.524 GB, free: 6.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7486, allocations: 4 kB / 1.524 GB, free: 6.035 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.7486, allocations: 12 kB / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.7492, allocations: 143.7 kB / 1.524 GB, free: 5.883 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.7492, allocations: 15.88 kB / 1.524 GB, free: 5.867 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.7501, allocations: 63.95 kB / 1.524 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.7502, allocations: 24 kB / 1.524 GB, free: 5.781 MB / 1.217 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.0005367/0.7507, allocations: 321.5 kB / 1.525 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.7508, allocations: 79.48 kB / 1.525 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.751, allocations: 79 kB / 1.525 GB, free: 5.297 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.751, allocations: 7.938 kB / 1.525 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.751, allocations: 0 / 1.525 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007859/0.7518, allocations: 0.6794 MB / 1.525 GB, free: 4.523 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.7542, allocations: 1.34 MB / 1.527 GB, free: 3.098 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7542, allocations: 4 kB / 1.527 GB, free: 3.094 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.7546, allocations: 87.89 kB / 1.527 GB, free: 3.008 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.7547, allocations: 4 kB / 1.527 GB, free: 3.004 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.7547, allocations: 19.94 kB / 1.527 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.7547, allocations: 8 kB / 1.527 GB, free: 2.977 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7547, allocations: 7.938 kB / 1.527 GB, free: 2.969 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.7558, allocations: 0.813 MB / 1.528 GB, free: 2.09 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.7562, allocations: 135.5 kB / 1.528 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7563, allocations: 16 kB / 1.528 GB, free: 1.941 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.7569, allocations: 36.08 kB / 1.528 GB, free: 1.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.757, allocations: 43.83 kB / 1.528 GB, free: 1.867 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.7571, allocations: 23.98 kB / 1.528 GB, free: 1.844 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008632/0.758, allocations: 0.5029 MB / 1.528 GB, free: 1.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.758, allocations: 0 / 1.528 GB, free: 1.348 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001047/0.759, allocations: 251.9 kB / 1.529 GB, free: 1.102 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.0004704/0.7595, allocations: 203.1 kB / 1.529 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.7605, allocations: 495.9 kB / 1.529 GB, free: 416 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7605, allocations: 4 kB / 1.529 GB, free: 412 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.7608, allocations: 179.7 kB / 1.529 GB, free: 232 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.7629, allocations: 445.5 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.766, allocations: 1.833 MB / 1.532 GB, free: 13.89 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.7666, allocations: 0.4953 MB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006947/0.7673, allocations: 210.3 kB / 1.532 GB, free: 13.15 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7675, allocations: 59.44 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of SimCode: time 5.91e-07/0.7675, allocations: 0 / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of Templates: time 0.0313/0.7988, allocations: 17.41 MB / 1.549 GB, free: 12.08 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.612854753999272]