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.0019/0.0019, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002465/0.002465, allocations: 220 kB / 22.24 MB, free: 5.109 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.789 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.556/3.556, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002258/0.002258, allocations: 68.27 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.466, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2349/0.701, allocations: 168.5 MB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.7113, allocations: 5.436 MB / 1.495 GB, free: 3.305 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.7126, allocations: 55.56 kB / 1.495 GB, free: 3.25 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.7142, allocations: 0.5435 MB / 1.496 GB, free: 2.703 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.7188, allocations: 1.688 MB / 1.498 GB, free: 1.008 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.7223, allocations: 1.218 MB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.726, allocations: 2.602 MB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.7273, allocations: 0.7435 MB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.7302, allocations: 1.288 MB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.7321, allocations: 0.8649 MB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.7323, allocations: 108 kB / 1.504 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.7353, allocations: 1.278 MB / 1.506 GB, free: 8.887 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.7359, allocations: 0.5103 MB / 1.506 GB, free: 8.375 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007517/0.7367, allocations: 0.5291 MB / 1.507 GB, free: 7.844 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.7402, allocations: 2.161 MB / 1.509 GB, free: 5.676 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7402, allocations: 0 / 1.509 GB, free: 5.676 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7402, allocations: 0 / 1.509 GB, free: 5.676 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.7402, allocations: 0 / 1.509 GB, free: 5.676 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.002771/0.743, allocations: 1.477 MB / 1.51 GB, free: 4.16 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.743, allocations: 12.03 kB / 1.51 GB, free: 4.148 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.7462, allocations: 474.8 kB / 1.511 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.7481, allocations: 0.7838 MB / 1.511 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.7482, allocations: 69.98 kB / 1.511 GB, free: 2.805 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.7484, allocations: 95.88 kB / 1.511 GB, free: 2.711 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.751, allocations: 1.551 MB / 1.513 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.7511, allocations: 0 / 1.513 GB, free: 1.043 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.7512, allocations: 40 kB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.7512, allocations: 33.98 kB / 1.513 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.7538, allocations: 1.066 MB / 1.514 GB, free: 15.9 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.007037/0.7609, allocations: 3.129 MB / 1.517 GB, free: 12.7 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.763, allocations: 0.723 MB / 1.518 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.764, allocations: 392.4 kB / 1.518 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.7642, allocations: 27.97 kB / 1.518 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.7642, allocations: 38.56 kB / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.7643, allocations: 0 / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006274/0.7705, allocations: 2.101 MB / 1.52 GB, free: 9.363 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.7706, allocations: 59.39 kB / 1.52 GB, free: 9.293 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/0.7715, allocations: 0.676 MB / 1.521 GB, free: 8.609 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.7716, allocations: 37.69 kB / 1.521 GB, free: 8.566 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.772, allocations: 0.5038 MB / 1.522 GB, free: 8.055 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.7722, allocations: 170.5 kB / 1.522 GB, free: 7.887 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.7725, allocations: 130.2 kB / 1.522 GB, free: 7.754 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002593/0.7727, allocations: 378.8 kB / 1.522 GB, free: 7.375 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.7737, allocations: 365 kB / 1.523 GB, free: 7.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7749, allocations: 0.5515 MB / 1.523 GB, free: 6.402 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.006705/0.7816, allocations: 2.19 MB / 1.525 GB, free: 4.16 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7816, allocations: 0 / 1.525 GB, free: 4.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002531/0.7841, allocations: 0.9694 MB / 1.526 GB, free: 3.188 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.7842, allocations: 12.12 kB / 1.526 GB, free: 3.176 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7842, allocations: 4 kB / 1.526 GB, free: 3.172 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.7842, allocations: 8 kB / 1.526 GB, free: 3.164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/0.7852, allocations: 183.7 kB / 1.526 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.7852, allocations: 15.92 kB / 1.526 GB, free: 2.969 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.7862, allocations: 67.94 kB / 1.526 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.7863, allocations: 23.98 kB / 1.527 GB, free: 2.879 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.0005676/0.7869, allocations: 321.5 kB / 1.527 GB, free: 2.555 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.787, allocations: 79.53 kB / 1.527 GB, free: 2.477 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.7872, allocations: 87.14 kB / 1.527 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7872, allocations: 4 kB / 1.527 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.7873, allocations: 7.938 kB / 1.527 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002223/0.7895, allocations: 1.019 MB / 1.528 GB, free: 1.273 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005087/0.7946, allocations: 1.883 MB / 1.53 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7946, allocations: 4 kB / 1.53 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.7955, allocations: 168.1 kB / 1.53 GB, free: 15.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.7955, allocations: 11.98 kB / 1.53 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.7956, allocations: 19.98 kB / 1.53 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.7956, allocations: 7.938 kB / 1.53 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7956, allocations: 4 kB / 1.53 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.799, allocations: 1.403 MB / 1.531 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.7996, allocations: 163.5 kB / 1.532 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.7997, allocations: 15.98 kB / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.8006, allocations: 67.94 kB / 1.532 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.8007, allocations: 39.81 kB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.8008, allocations: 31.97 kB / 1.532 GB, free: 13.33 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006709/0.8015, allocations: 459 kB / 1.532 GB, free: 12.88 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.8015, allocations: 8 kB / 1.532 GB, free: 12.88 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009624/0.8024, allocations: 263.9 kB / 1.532 GB, free: 12.62 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.0004206/0.8028, allocations: 188.9 kB / 1.533 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002514/0.8054, allocations: 0.7872 MB / 1.533 GB, free: 11.63 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8054, allocations: 7.938 kB / 1.533 GB, free: 11.62 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.8064, allocations: 381.1 kB / 1.534 GB, free: 11.25 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.8087, allocations: 455.1 kB / 1.534 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.8147, allocations: 2.163 MB / 1.536 GB, free: 8.578 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.8155, allocations: 0.5118 MB / 1.537 GB, free: 8.031 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001004/0.8165, allocations: 230.3 kB / 1.537 GB, free: 7.801 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.8168, allocations: 67.42 kB / 1.537 GB, free: 7.734 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/0.8168, allocations: 0 / 1.537 GB, free: 7.734 MB / 1.232 GB Notification: Performance of Templates: time 0.03597/0.8528, allocations: 19.78 MB / 1.556 GB, free: 4.398 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.970791183412075]