Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001408/0.001408, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00146/0.00146, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.176/3.176, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [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.002152/0.002152, allocations: 67.72 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.374, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2314/0.6053, allocations: 168.5 MB / 1.491 GB, free: 8.734 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6163, allocations: 5.425 MB / 1.496 GB, free: 3.297 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.618, allocations: 59.5 kB / 1.496 GB, free: 3.238 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.6199, allocations: 0.5475 MB / 1.497 GB, free: 2.688 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005162/0.6251, allocations: 1.684 MB / 1.498 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.6287, allocations: 1.23 MB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.6327, allocations: 2.597 MB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.634, allocations: 0.7513 MB / 1.503 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.6368, allocations: 1.281 MB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.639, allocations: 0.8715 MB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.6392, allocations: 108 kB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.6422, allocations: 1.27 MB / 1.506 GB, free: 8.867 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.643, allocations: 0.5102 MB / 1.507 GB, free: 8.355 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008677/0.6438, allocations: 0.5291 MB / 1.507 GB, free: 7.824 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003886/0.6477, allocations: 2.161 MB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6477, allocations: 4 kB / 1.509 GB, free: 5.652 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6477, allocations: 4 kB / 1.509 GB, free: 5.648 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.6477, allocations: 0 / 1.509 GB, free: 5.648 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002811/0.6506, allocations: 1.479 MB / 1.511 GB, free: 4.133 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6506, allocations: 8.031 kB / 1.511 GB, free: 4.125 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.6536, allocations: 474.8 kB / 1.511 GB, free: 3.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.6555, allocations: 0.7915 MB / 1.512 GB, free: 2.84 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.6555, allocations: 66 kB / 1.512 GB, free: 2.777 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.6557, allocations: 84 kB / 1.512 GB, free: 2.695 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.6583, allocations: 1.551 MB / 1.514 GB, free: 1.027 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.6583, allocations: 7.938 kB / 1.514 GB, free: 1.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.6584, allocations: 36 kB / 1.514 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.6585, allocations: 37.98 kB / 1.514 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.6609, allocations: 1.062 MB / 1.515 GB, free: 15.88 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.006897/0.6678, allocations: 3.129 MB / 1.518 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.6698, allocations: 0.7238 MB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009635/0.6708, allocations: 397.9 kB / 1.519 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.6709, allocations: 23.98 kB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.671, allocations: 38.56 kB / 1.519 GB, free: 11.48 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.671, allocations: 0 / 1.519 GB, free: 11.48 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006026/0.677, allocations: 2.101 MB / 1.521 GB, free: 9.344 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.6771, allocations: 59.41 kB / 1.521 GB, free: 9.273 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/0.678, allocations: 0.6682 MB / 1.522 GB, free: 8.598 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.6781, allocations: 37.7 kB / 1.522 GB, free: 8.555 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.6785, allocations: 0.4999 MB / 1.522 GB, free: 8.047 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.6787, allocations: 174.5 kB / 1.523 GB, free: 7.875 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.6789, allocations: 126.2 kB / 1.523 GB, free: 7.746 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6791, allocations: 374.8 kB / 1.523 GB, free: 7.371 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.6801, allocations: 377 kB / 1.523 GB, free: 7.004 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.6812, allocations: 0.5476 MB / 1.524 GB, free: 6.391 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.006293/0.6875, allocations: 2.192 MB / 1.526 GB, free: 4.145 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6875, allocations: 0 / 1.526 GB, free: 4.145 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002495/0.69, allocations: 0.9656 MB / 1.527 GB, free: 3.176 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.69, allocations: 8 kB / 1.527 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.69, allocations: 4.125 kB / 1.527 GB, free: 3.164 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.69, allocations: 16 kB / 1.527 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.691, allocations: 191.7 kB / 1.527 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.691, allocations: 11.94 kB / 1.527 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.692, allocations: 67.94 kB / 1.527 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.692, allocations: 27.98 kB / 1.527 GB, free: 2.855 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005926/0.6926, allocations: 313.5 kB / 1.528 GB, free: 2.539 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6928, allocations: 79.53 kB / 1.528 GB, free: 2.461 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.693, allocations: 91.12 kB / 1.528 GB, free: 2.371 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.693, allocations: 4 kB / 1.528 GB, free: 2.367 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.693, allocations: 3.938 kB / 1.528 GB, free: 2.363 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002103/0.6951, allocations: 1.023 MB / 1.529 GB, free: 1.254 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.6998, allocations: 1.883 MB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6998, allocations: 4 kB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.7007, allocations: 168 kB / 1.531 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.7007, allocations: 4 kB / 1.531 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.7007, allocations: 19.98 kB / 1.531 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.7007, allocations: 4 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7008, allocations: 4 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.704, allocations: 1.411 MB / 1.532 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/0.7046, allocations: 159.5 kB / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7047, allocations: 16 kB / 1.532 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/0.7055, allocations: 78.22 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.7056, allocations: 39.88 kB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.7057, allocations: 27.98 kB / 1.532 GB, free: 13.31 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006217/0.7063, allocations: 463 kB / 1.533 GB, free: 12.86 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7063, allocations: 0 / 1.533 GB, free: 12.86 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008493/0.7072, allocations: 259.9 kB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 45 * 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.0003839/0.7076, allocations: 208.5 kB / 1.533 GB, free: 12.39 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.7097, allocations: 0.7877 MB / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7097, allocations: 0 / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009791/0.7106, allocations: 380.5 kB / 1.534 GB, free: 11.23 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.7127, allocations: 457.9 kB / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.7177, allocations: 2.235 MB / 1.537 GB, free: 8.48 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.7183, allocations: 0.5118 MB / 1.538 GB, free: 7.934 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.7187, allocations: 75.41 kB / 1.538 GB, free: 7.859 MB / 1.232 GB Notification: Performance of SimCode: time 1.041e-06/0.7187, allocations: 0 / 1.538 GB, free: 7.859 MB / 1.232 GB Notification: Performance of Templates: time 0.02465/0.7433, allocations: 15.54 MB / 1.553 GB, free: 8.434 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 14.03772987285629]