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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002443/0.002443, allocations: 192.2 kB / 22.1 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 250.8 MB, free: 2.938 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.003/3.003, allocations: 495.8 MB / 0.783 GB, free: 12.27 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.88 kB / 1.137 GB, free: 12.15 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.383/1.385, allocations: 173.6 MB / 1.307 GB, free: 33.81 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2715/1.656, allocations: 189.5 MB / 1.492 GB, free: 7.59 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.01302/1.669, allocations: 5.731 MB / 1.497 GB, free: 2.93 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/1.672, allocations: 57.53 kB / 1.497 GB, free: 2.898 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.002064/1.674, allocations: 0.5957 MB / 1.498 GB, free: 2.414 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.00624/1.68, allocations: 1.701 MB / 1.5 GB, free: 1.098 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004553/1.684, allocations: 1.254 MB / 1.501 GB, free: 156 kB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.00571/1.69, allocations: 2.612 MB / 1.503 GB, free: 14.63 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001615/1.692, allocations: 0.7542 MB / 1.504 GB, free: 14.1 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003769/1.696, allocations: 1.271 MB / 1.505 GB, free: 13.1 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002518/1.698, allocations: 0.9073 MB / 1.506 GB, free: 12.2 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.000245/1.698, allocations: 108 kB / 1.506 GB, free: 12.09 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003593/1.702, allocations: 1.298 MB / 1.508 GB, free: 10.79 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007655/1.703, allocations: 0.5064 MB / 1.508 GB, free: 10.28 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.001122/1.704, allocations: 0.6456 MB / 1.509 GB, free: 9.633 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.004536/1.708, allocations: 2.137 MB / 1.511 GB, free: 7.488 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.708, allocations: 4 kB / 1.511 GB, free: 7.484 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.954e-06/1.708, allocations: 0 / 1.511 GB, free: 7.484 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 2.072e-05/1.708, allocations: 3.938 kB / 1.511 GB, free: 7.48 MB / 1.186 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.00311/1.711, allocations: 1.473 MB / 1.512 GB, free: 5.961 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.711, allocations: 12.03 kB / 1.512 GB, free: 5.949 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/1.715, allocations: 482.7 kB / 1.513 GB, free: 5.477 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/1.717, allocations: 0.7877 MB / 1.514 GB, free: 4.66 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/1.717, allocations: 69.98 kB / 1.514 GB, free: 4.594 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/1.717, allocations: 84 kB / 1.514 GB, free: 4.512 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/1.72, allocations: 1.179 MB / 1.515 GB, free: 3.309 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.72, allocations: 3.938 kB / 1.515 GB, free: 3.305 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.72, allocations: 36 kB / 1.515 GB, free: 3.27 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/1.72, allocations: 34 kB / 1.515 GB, free: 3.238 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/1.722, allocations: 1.066 MB / 1.516 GB, free: 2.172 MB / 1.186 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.008471/1.731, allocations: 4.397 MB / 1.52 GB, free: 13.48 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002236/1.733, allocations: 0.7287 MB / 1.521 GB, free: 12.74 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.734, allocations: 388.1 kB / 1.521 GB, free: 12.36 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.734, allocations: 23.98 kB / 1.521 GB, free: 12.34 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/1.734, allocations: 46.55 kB / 1.521 GB, free: 12.29 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=43): time 2.936e-06/1.734, allocations: 0 / 1.521 GB, free: 12.29 MB / 1.201 GB
Notification: Performance of matching and sorting (n=45): time 0.006781/1.741, allocations: 2.113 MB / 1.524 GB, free: 10.14 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/1.741, allocations: 63.33 kB / 1.524 GB, free: 10.06 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.743, allocations: 0.8647 MB / 1.524 GB, free: 9.188 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 9.573e-05/1.743, allocations: 37.7 kB / 1.524 GB, free: 9.145 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000527/1.743, allocations: 0.4924 MB / 1.525 GB, free: 8.645 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.743, allocations: 166.6 kB / 1.525 GB, free: 8.48 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.744, allocations: 130.2 kB / 1.525 GB, free: 8.348 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.000209/1.744, allocations: 330 kB / 1.526 GB, free: 8.02 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.745, allocations: 369 kB / 1.526 GB, free: 7.66 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.746, allocations: 0.5013 MB / 1.526 GB, free: 7.102 MB / 1.201 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.007071/1.753, allocations: 2.185 MB / 1.529 GB, free: 4.867 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/1.753, allocations: 0 / 1.529 GB, free: 4.867 MB / 1.201 GB
Notification: Performance of matching and sorting (n=73) (initialization): time 0.002794/1.756, allocations: 0.9811 MB / 1.529 GB, free: 3.883 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.756, allocations: 9.406 kB / 1.53 GB, free: 3.875 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.756, allocations: 4 kB / 1.53 GB, free: 3.871 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.351e-05/1.756, allocations: 12.06 kB / 1.53 GB, free: 3.859 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.757, allocations: 199.6 kB / 1.53 GB, free: 3.664 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/1.757, allocations: 8 kB / 1.53 GB, free: 3.656 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.759, allocations: 75.88 kB / 1.53 GB, free: 3.582 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/1.759, allocations: 20 kB / 1.53 GB, free: 3.562 MB / 1.201 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.000761/1.759, allocations: 323.7 kB / 1.53 GB, free: 3.238 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.76, allocations: 95.44 kB / 1.53 GB, free: 3.145 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/1.76, allocations: 104.7 kB / 1.53 GB, free: 3.043 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.76, allocations: 7.938 kB / 1.53 GB, free: 3.035 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.76, allocations: 4 kB / 1.53 GB, free: 3.031 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002549/1.762, allocations: 1.034 MB / 1.531 GB, free: 1.91 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/1.768, allocations: 2.109 MB / 1.533 GB, free: 15.71 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.768, allocations: 4 kB / 1.533 GB, free: 15.71 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/1.769, allocations: 171.8 kB / 1.534 GB, free: 15.54 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.769, allocations: 4 kB / 1.534 GB, free: 15.54 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/1.769, allocations: 15.98 kB / 1.534 GB, free: 15.52 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.769, allocations: 4 kB / 1.534 GB, free: 15.52 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/1.769, allocations: 15.88 kB / 1.534 GB, free: 15.5 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/1.772, allocations: 1.423 MB / 1.535 GB, free: 14.02 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/1.773, allocations: 183.2 kB / 1.535 GB, free: 13.84 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.773, allocations: 12 kB / 1.535 GB, free: 13.82 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/1.774, allocations: 67.92 kB / 1.535 GB, free: 13.76 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.774, allocations: 47.81 kB / 1.535 GB, free: 13.71 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/1.774, allocations: 23.98 kB / 1.535 GB, free: 13.69 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0009772/1.775, allocations: 0.6044 MB / 1.536 GB, free: 13.09 MB / 1.217 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.775, allocations: 0 / 1.536 GB, free: 13.09 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.001305/1.777, allocations: 271.9 kB / 1.536 GB, free: 12.82 MB / 1.217 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.0008815/1.778, allocations: 204.9 kB / 1.536 GB, free: 12.62 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.002793/1.78, allocations: 0.7918 MB / 1.537 GB, free: 11.82 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.78, allocations: 4.062 kB / 1.537 GB, free: 11.82 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001112/1.781, allocations: 372.3 kB / 1.537 GB, free: 11.46 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.785, allocations: 0.5815 MB / 1.538 GB, free: 10.89 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/1.79, allocations: 2.206 MB / 1.54 GB, free: 8.609 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/1.791, allocations: 1.107 MB / 1.541 GB, free: 7.473 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.001038/1.792, allocations: 259.8 kB / 1.542 GB, free: 7.215 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/1.793, allocations: 75.42 kB / 1.542 GB, free: 7.141 MB / 1.217 GB
Notification: Performance of SimCode: time 1.303e-06/1.793, allocations: 0 / 1.542 GB, free: 7.141 MB / 1.217 GB
Notification: Performance of Templates: time 0.04393/1.837, allocations: 21.61 MB / 1.563 GB, free: 1.844 MB / 1.232 GB
"
[Timeout remaining time 298]
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: 11.396537872031331]