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.001457/0.001457, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001625/0.001625, allocations: 215.2 kB / 23.01 MB, free: 5.113 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 2.908/2.908, allocations: 0.49 GB / 0.7958 GB, free: 33.56 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.00192/0.00192, allocations: 68.77 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2149/0.5323, allocations: 194.5 MB / 1.517 GB, free: 14.22 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009512/0.5418, allocations: 5.764 MB / 1.523 GB, free: 8.438 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5429, allocations: 55.5 kB / 1.523 GB, free: 8.383 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.5444, allocations: 0.5942 MB / 1.523 GB, free: 7.785 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.5485, allocations: 1.711 MB / 1.525 GB, free: 6.066 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.5516, allocations: 1.253 MB / 1.526 GB, free: 4.82 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.5549, allocations: 2.621 MB / 1.529 GB, free: 2.191 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.556, allocations: 0.7552 MB / 1.53 GB, free: 1.418 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.5581, allocations: 1.265 MB / 1.531 GB, free: 152 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.5598, allocations: 0.9172 MB / 1.532 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.56, allocations: 108 kB / 1.532 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.5628, allocations: 1.637 MB / 1.533 GB, free: 13.49 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.5633, allocations: 0.5025 MB / 1.534 GB, free: 12.99 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.564, allocations: 0.6456 MB / 1.534 GB, free: 12.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.5668, allocations: 2.188 MB / 1.537 GB, free: 10.14 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5668, allocations: 3.984 kB / 1.537 GB, free: 10.14 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5668, allocations: 0 / 1.537 GB, free: 10.14 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.5668, allocations: 0 / 1.537 GB, free: 10.14 MB / 1.232 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.002423/0.5693, allocations: 1.481 MB / 1.538 GB, free: 8.621 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5693, allocations: 8.031 kB / 1.538 GB, free: 8.613 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.5721, allocations: 490.7 kB / 1.539 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.5737, allocations: 0.7838 MB / 1.539 GB, free: 7.32 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.5738, allocations: 66 kB / 1.539 GB, free: 7.258 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5739, allocations: 80 kB / 1.539 GB, free: 7.18 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.5761, allocations: 1.179 MB / 1.541 GB, free: 5.977 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.5761, allocations: 4 kB / 1.541 GB, free: 5.973 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.5762, allocations: 36 kB / 1.541 GB, free: 5.938 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.5762, allocations: 42 kB / 1.541 GB, free: 5.898 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5785, allocations: 1.062 MB / 1.542 GB, free: 4.832 MB / 1.232 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.007054/0.5855, allocations: 4.421 MB / 1.546 GB, free: 120 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.5874, allocations: 0.7268 MB / 1.547 GB, free: 15.38 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.5883, allocations: 390.1 kB / 1.547 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.5884, allocations: 23.97 kB / 1.547 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5885, allocations: 42.55 kB / 1.547 GB, free: 14.93 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.5885, allocations: 0 / 1.547 GB, free: 14.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.005415/0.5939, allocations: 2.12 MB / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5939, allocations: 59.34 kB / 1.549 GB, free: 12.7 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.595, allocations: 0.8725 MB / 1.55 GB, free: 11.82 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.5951, allocations: 37.7 kB / 1.55 GB, free: 11.77 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.5955, allocations: 0.4924 MB / 1.551 GB, free: 11.27 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5956, allocations: 170.6 kB / 1.551 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.5959, allocations: 118.3 kB / 1.551 GB, free: 10.98 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.596, allocations: 330 kB / 1.551 GB, free: 10.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.5969, allocations: 369 kB / 1.552 GB, free: 10.3 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/0.5979, allocations: 0.4974 MB / 1.552 GB, free: 9.746 MB / 1.248 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.005883/0.6038, allocations: 2.188 MB / 1.554 GB, free: 7.504 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6038, allocations: 0 / 1.554 GB, free: 7.504 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002228/0.606, allocations: 0.9927 MB / 1.555 GB, free: 6.508 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.606, allocations: 8 kB / 1.555 GB, free: 6.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.606, allocations: 4 kB / 1.555 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6061, allocations: 4 kB / 1.555 GB, free: 6.492 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.607, allocations: 195.8 kB / 1.555 GB, free: 6.301 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.607, allocations: 8 kB / 1.555 GB, free: 6.293 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.6079, allocations: 63.92 kB / 1.555 GB, free: 6.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.6079, allocations: 31.94 kB / 1.556 GB, free: 6.199 MB / 1.248 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.0004804/0.6084, allocations: 321.5 kB / 1.556 GB, free: 5.875 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.6086, allocations: 99.39 kB / 1.556 GB, free: 5.777 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.6088, allocations: 108.7 kB / 1.556 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.6088, allocations: 7.938 kB / 1.556 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6088, allocations: 0 / 1.556 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001912/0.6107, allocations: 1.027 MB / 1.557 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.6152, allocations: 2.108 MB / 1.559 GB, free: 2.352 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6152, allocations: 4 kB / 1.559 GB, free: 2.348 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.6161, allocations: 164.2 kB / 1.559 GB, free: 2.188 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6161, allocations: 4 kB / 1.559 GB, free: 2.184 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.6161, allocations: 19.98 kB / 1.559 GB, free: 2.164 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.6161, allocations: 7.938 kB / 1.559 GB, free: 2.156 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.6161, allocations: 7.938 kB / 1.559 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.619, allocations: 1.422 MB / 1.561 GB, free: 0.668 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.6195, allocations: 179.4 kB / 1.561 GB, free: 0.4922 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6196, allocations: 16.08 kB / 1.561 GB, free: 488 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.6204, allocations: 65.69 kB / 1.561 GB, free: 424 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.6205, allocations: 47.8 kB / 1.561 GB, free: 376 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.6206, allocations: 27.98 kB / 1.561 GB, free: 348 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007704/0.6214, allocations: 0.6006 MB / 1.562 GB, free: 15.74 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6214, allocations: 0 / 1.562 GB, free: 15.74 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008028/0.6222, allocations: 279.9 kB / 1.562 GB, free: 15.46 MB / 1.264 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.0003424/0.6225, allocations: 184.7 kB / 1.562 GB, free: 15.28 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.6245, allocations: 0.7911 MB / 1.563 GB, free: 14.48 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6245, allocations: 7.875 kB / 1.563 GB, free: 14.47 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.6254, allocations: 377.1 kB / 1.563 GB, free: 14.11 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.6277, allocations: 0.5877 MB / 1.564 GB, free: 13.53 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.6324, allocations: 2.27 MB / 1.566 GB, free: 11.18 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.6332, allocations: 1.107 MB / 1.567 GB, free: 10.04 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.6335, allocations: 83.42 kB / 1.567 GB, free: 9.961 MB / 1.264 GB Notification: Performance of SimCode: time 5.11e-07/0.6335, allocations: 3.938 kB / 1.567 GB, free: 9.957 MB / 1.264 GB Notification: Performance of Templates: time 0.02435/0.6578, allocations: 17.08 MB / 1.584 GB, free: 9.035 MB / 1.279 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.38034525999683]