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.001303/0.001303, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001473/0.001473, allocations: 216.7 kB / 23.04 MB, free: 4.844 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.001/3.001, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.001949/0.001949, allocations: 72.17 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2064/0.5414, allocations: 168.5 MB / 1.492 GB, free: 7.836 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009517/0.551, allocations: 5.429 MB / 1.497 GB, free: 2.395 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5522, allocations: 51.56 kB / 1.497 GB, free: 2.344 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.5538, allocations: 0.5435 MB / 1.498 GB, free: 1.797 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.5584, allocations: 1.684 MB / 1.499 GB, free: 108 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.5618, allocations: 1.237 MB / 1.5 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003836/0.5656, allocations: 2.59 MB / 1.503 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.5669, allocations: 0.7513 MB / 1.504 GB, free: 11.51 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.5695, allocations: 1.277 MB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.5715, allocations: 0.8747 MB / 1.506 GB, free: 9.355 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.5718, allocations: 108 kB / 1.506 GB, free: 9.25 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.5745, allocations: 1.282 MB / 1.507 GB, free: 7.965 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005881/0.5751, allocations: 0.5103 MB / 1.508 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.5758, allocations: 0.5252 MB / 1.508 GB, free: 6.926 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.5791, allocations: 2.153 MB / 1.51 GB, free: 4.766 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5791, allocations: 4 kB / 1.51 GB, free: 4.762 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5791, allocations: 7.938 kB / 1.51 GB, free: 4.754 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.5791, allocations: 0 / 1.51 GB, free: 4.754 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.002742/0.5819, allocations: 1.474 MB / 1.512 GB, free: 3.242 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5819, allocations: 8.031 kB / 1.512 GB, free: 3.234 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/0.5851, allocations: 486.7 kB / 1.512 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.5869, allocations: 0.7876 MB / 1.513 GB, free: 1.941 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.587, allocations: 62 kB / 1.513 GB, free: 1.883 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.5871, allocations: 84 kB / 1.513 GB, free: 1.801 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.5898, allocations: 1.563 MB / 1.515 GB, free: 124 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.5898, allocations: 4 kB / 1.515 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5899, allocations: 36 kB / 1.515 GB, free: 84 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/0.59, allocations: 34 kB / 1.515 GB, free: 52 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.5927, allocations: 1.062 MB / 1.516 GB, free: 14.98 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.007825/0.6005, allocations: 3.133 MB / 1.519 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.6025, allocations: 0.7222 MB / 1.519 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009855/0.6035, allocations: 391.8 kB / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.6037, allocations: 23.97 kB / 1.52 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.6037, allocations: 38.56 kB / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.6037, allocations: 0 / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006138/0.6098, allocations: 2.101 MB / 1.522 GB, free: 8.449 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.6099, allocations: 55.41 kB / 1.522 GB, free: 8.383 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/0.6108, allocations: 0.676 MB / 1.523 GB, free: 7.699 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.6108, allocations: 37.7 kB / 1.523 GB, free: 7.656 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.6113, allocations: 0.4999 MB / 1.523 GB, free: 7.148 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.6115, allocations: 182.5 kB / 1.523 GB, free: 6.969 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.6117, allocations: 122.2 kB / 1.524 GB, free: 6.844 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.6119, allocations: 374.8 kB / 1.524 GB, free: 6.469 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.6129, allocations: 373 kB / 1.524 GB, free: 6.105 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.614, allocations: 0.5476 MB / 1.525 GB, free: 5.492 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.006389/0.6204, allocations: 2.199 MB / 1.527 GB, free: 3.242 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6204, allocations: 0 / 1.527 GB, free: 3.242 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00241/0.6228, allocations: 0.9655 MB / 1.528 GB, free: 2.273 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6228, allocations: 8 kB / 1.528 GB, free: 2.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6228, allocations: 4.125 kB / 1.528 GB, free: 2.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6229, allocations: 12 kB / 1.528 GB, free: 2.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/0.6239, allocations: 191.7 kB / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.6239, allocations: 11.94 kB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/0.6248, allocations: 63.94 kB / 1.528 GB, free: 1.988 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.6249, allocations: 27.98 kB / 1.528 GB, free: 1.961 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.0005293/0.6254, allocations: 321.4 kB / 1.528 GB, free: 1.637 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.6256, allocations: 79.53 kB / 1.529 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.6258, allocations: 87.14 kB / 1.529 GB, free: 1.473 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.6258, allocations: 4 kB / 1.529 GB, free: 1.469 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6258, allocations: 3.938 kB / 1.529 GB, free: 1.465 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/0.6279, allocations: 1.03 MB / 1.53 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.6326, allocations: 1.887 MB / 1.531 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6326, allocations: 4 kB / 1.531 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.6335, allocations: 164.1 kB / 1.532 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6335, allocations: 4 kB / 1.532 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6336, allocations: 15.98 kB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.6336, allocations: 4 kB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6336, allocations: 7.938 kB / 1.532 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.6368, allocations: 1.411 MB / 1.533 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.6374, allocations: 159.5 kB / 1.533 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6375, allocations: 12 kB / 1.533 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.6383, allocations: 68.62 kB / 1.533 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.6384, allocations: 39.83 kB / 1.533 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.6385, allocations: 35.97 kB / 1.533 GB, free: 12.41 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006225/0.6391, allocations: 455 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6391, allocations: 0 / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009097/0.64, allocations: 267.9 kB / 1.534 GB, free: 11.71 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.0003894/0.6404, allocations: 192.3 kB / 1.534 GB, free: 11.51 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002159/0.6426, allocations: 0.7917 MB / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6426, allocations: 0 / 1.535 GB, free: 10.71 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6436, allocations: 376.5 kB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.6457, allocations: 470.5 kB / 1.536 GB, free: 9.898 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.6507, allocations: 2.227 MB / 1.538 GB, free: 7.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.6513, allocations: 0.5118 MB / 1.538 GB, free: 7.043 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.6516, allocations: 71.42 kB / 1.539 GB, free: 6.973 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/0.6516, allocations: 0 / 1.539 GB, free: 6.973 MB / 1.232 GB Notification: Performance of Templates: time 0.02374/0.6754, allocations: 15.55 MB / 1.554 GB, free: 7.547 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: 13.38740996317938]