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.00176/0.00176, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001413/0.001413, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.197/3.197, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002065/0.002065, allocations: 66.78 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.204/0.5146, allocations: 168.5 MB / 1.492 GB, free: 7.891 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009432/0.524, allocations: 5.437 MB / 1.497 GB, free: 2.441 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5251, allocations: 55.5 kB / 1.497 GB, free: 2.387 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.5266, allocations: 0.5397 MB / 1.498 GB, free: 1.844 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.5308, allocations: 1.688 MB / 1.499 GB, free: 152 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.534, allocations: 1.244 MB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003303/0.5373, allocations: 2.612 MB / 1.503 GB, free: 12.29 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.5384, allocations: 0.7513 MB / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.5407, allocations: 1.285 MB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.5424, allocations: 0.9019 MB / 1.506 GB, free: 9.332 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.5426, allocations: 108 kB / 1.506 GB, free: 9.227 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5451, allocations: 1.302 MB / 1.507 GB, free: 7.922 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/0.5456, allocations: 0.5102 MB / 1.508 GB, free: 7.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.5463, allocations: 0.5291 MB / 1.508 GB, free: 6.879 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.5492, allocations: 2.159 MB / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5492, allocations: 0 / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5492, allocations: 0 / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.5492, allocations: 0 / 1.51 GB, free: 4.715 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.002634/0.5518, allocations: 1.481 MB / 1.512 GB, free: 3.195 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5519, allocations: 12.03 kB / 1.512 GB, free: 3.184 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.5552, allocations: 482.7 kB / 1.512 GB, free: 2.711 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.557, allocations: 0.7876 MB / 1.513 GB, free: 1.895 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.557, allocations: 66 kB / 1.513 GB, free: 1.832 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.5572, allocations: 84 kB / 1.513 GB, free: 1.75 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.5597, allocations: 1.559 MB / 1.515 GB, free: 76 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.5597, allocations: 0 / 1.515 GB, free: 76 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5598, allocations: 40 kB / 1.515 GB, free: 36 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.5599, allocations: 30 kB / 1.515 GB, free: 8 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.5623, allocations: 1.066 MB / 1.516 GB, free: 14.94 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.006928/0.5693, allocations: 3.133 MB / 1.519 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.5713, allocations: 0.7181 MB / 1.52 GB, free: 11 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.5723, allocations: 390.1 kB / 1.52 GB, free: 10.62 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.5725, allocations: 27.97 kB / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5725, allocations: 42.56 kB / 1.52 GB, free: 10.54 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.5725, allocations: 0 / 1.52 GB, free: 10.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.005898/0.5784, allocations: 2.101 MB / 1.522 GB, free: 8.398 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5784, allocations: 59.41 kB / 1.522 GB, free: 8.328 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008483/0.5793, allocations: 0.6721 MB / 1.523 GB, free: 7.648 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/0.5794, allocations: 37.7 kB / 1.523 GB, free: 7.605 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.5797, allocations: 0.4999 MB / 1.523 GB, free: 7.098 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.5799, allocations: 170.5 kB / 1.523 GB, free: 6.93 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.5801, allocations: 126.2 kB / 1.524 GB, free: 6.801 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5803, allocations: 378.8 kB / 1.524 GB, free: 6.422 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.5813, allocations: 369 kB / 1.524 GB, free: 6.062 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5824, allocations: 0.5527 MB / 1.525 GB, free: 5.445 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.006424/0.5889, allocations: 2.192 MB / 1.527 GB, free: 3.199 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5889, allocations: 0 / 1.527 GB, free: 3.199 MB / 1.217 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002361/0.5912, allocations: 0.9695 MB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5912, allocations: 8 kB / 1.528 GB, free: 2.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5913, allocations: 7.938 kB / 1.528 GB, free: 2.211 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5913, allocations: 4 kB / 1.528 GB, free: 2.207 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5923, allocations: 195.8 kB / 1.528 GB, free: 2.016 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.5923, allocations: 11.94 kB / 1.528 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/0.5933, allocations: 71.88 kB / 1.528 GB, free: 1.934 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.5933, allocations: 23.98 kB / 1.528 GB, free: 1.91 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.0005079/0.5938, allocations: 317.5 kB / 1.528 GB, free: 1.59 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.594, allocations: 83.53 kB / 1.529 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.5942, allocations: 87.14 kB / 1.529 GB, free: 1.422 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.5942, allocations: 4 kB / 1.529 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5942, allocations: 3.938 kB / 1.529 GB, free: 1.414 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002056/0.5963, allocations: 1.03 MB / 1.53 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.6009, allocations: 1.871 MB / 1.531 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.6009, allocations: 8.391 kB / 1.531 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.6019, allocations: 163.7 kB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.6019, allocations: 12 kB / 1.532 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.6019, allocations: 19.98 kB / 1.532 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.6019, allocations: 4 kB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6019, allocations: 7.938 kB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.6051, allocations: 1.411 MB / 1.533 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.6056, allocations: 159.4 kB / 1.533 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6057, allocations: 12 kB / 1.533 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.6066, allocations: 68.64 kB / 1.533 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.6067, allocations: 39.81 kB / 1.533 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.6068, allocations: 31.97 kB / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005868/0.6074, allocations: 459 kB / 1.534 GB, free: 11.92 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6074, allocations: 0 / 1.534 GB, free: 11.92 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008786/0.6082, allocations: 267.9 kB / 1.534 GB, free: 11.66 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.0003821/0.6086, allocations: 208.2 kB / 1.534 GB, free: 11.44 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.611, allocations: 0.7833 MB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.611, allocations: 4 kB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6121, allocations: 381 kB / 1.535 GB, free: 10.28 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.6141, allocations: 454.7 kB / 1.536 GB, free: 9.848 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.619, allocations: 2.159 MB / 1.538 GB, free: 7.613 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.6195, allocations: 0.5118 MB / 1.538 GB, free: 7.066 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007663/0.6203, allocations: 230.3 kB / 1.539 GB, free: 6.836 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.6206, allocations: 79.34 kB / 1.539 GB, free: 6.758 MB / 1.232 GB Notification: Performance of SimCode: time 5.01e-07/0.6206, allocations: 0 / 1.539 GB, free: 6.758 MB / 1.232 GB Notification: Performance of Templates: time 0.03266/0.6532, allocations: 19.97 MB / 1.558 GB, free: 3.223 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 -s gbode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.451558679997106]