Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001481/0.001481, allocations: 110 kB / 18.93 MB, free: 2.945 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.001572/0.001572, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.329/1.329, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.875/2.875, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow")
translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 66.89 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3024, allocations: 174.8 MB / 1.316 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2005/0.5029, allocations: 191.6 MB / 1.503 GB, free: 9.379 MB / 1.201 GB
Notification: Performance of NFInst.instExpressions: time 0.01007/0.513, allocations: 5.752 MB / 1.509 GB, free: 3.617 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008586/0.5139, allocations: 51.56 kB / 1.509 GB, free: 3.566 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.001404/0.5153, allocations: 0.6059 MB / 1.509 GB, free: 2.957 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.00401/0.5193, allocations: 1.937 MB / 1.511 GB, free: 1.012 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.522, allocations: 1.229 MB / 1.512 GB, free: 15.79 MB / 1.217 GB
Notification: Performance of NFFlatten.flatten: time 0.003454/0.5254, allocations: 3.046 MB / 1.515 GB, free: 12.73 MB / 1.217 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.5265, allocations: 0.8244 MB / 1.516 GB, free: 11.89 MB / 1.217 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.5284, allocations: 1.312 MB / 1.518 GB, free: 10.57 MB / 1.217 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.5302, allocations: 1.026 MB / 1.519 GB, free: 9.551 MB / 1.217 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.5303, allocations: 120 kB / 1.519 GB, free: 9.434 MB / 1.217 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.5328, allocations: 1.547 MB / 1.52 GB, free: 7.883 MB / 1.217 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005628/0.5334, allocations: 0.5843 MB / 1.521 GB, free: 7.297 MB / 1.217 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.5341, allocations: 0.7195 MB / 1.521 GB, free: 6.574 MB / 1.217 GB
Notification: Performance of NFConvertDAE.convert: time 0.002791/0.5369, allocations: 2.348 MB / 1.524 GB, free: 4.219 MB / 1.217 GB
Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5369, allocations: 0 / 1.524 GB, free: 4.219 MB / 1.217 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.5369, allocations: 0 / 1.524 GB, free: 4.219 MB / 1.217 GB
Notification: Performance of Transformations before backend: time 2.02e-05/0.5369, allocations: 0 / 1.524 GB, free: 4.219 MB / 1.217 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 248
 * Number of variables: 248
Notification: Performance of Generate backend data structure: time 0.002505/0.5394, allocations: 1.582 MB / 1.525 GB, free: 2.598 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5394, allocations: 16.02 kB / 1.525 GB, free: 2.582 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.5413, allocations: 334.9 kB / 1.526 GB, free: 2.254 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.5427, allocations: 0.8423 MB / 1.526 GB, free: 1.383 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.5428, allocations: 74 kB / 1.526 GB, free: 1.312 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5429, allocations: 99.98 kB / 1.527 GB, free: 1.215 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.5447, allocations: 1.081 MB / 1.528 GB, free: 128 kB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.5448, allocations: 7.938 kB / 1.528 GB, free: 120 kB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.652e-05/0.5448, allocations: 47.98 kB / 1.528 GB, free: 72 kB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.5449, allocations: 34 kB / 1.528 GB, free: 36 kB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.5465, allocations: 0.9915 MB / 1.529 GB, free: 15.05 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.00586/0.5524, allocations: 4.321 MB / 1.533 GB, free: 10.39 MB / 1.232 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.5533, allocations: 0.5598 MB / 1.533 GB, free: 9.824 MB / 1.232 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.5538, allocations: 323 kB / 1.534 GB, free: 9.504 MB / 1.232 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.5539, allocations: 32.39 kB / 1.534 GB, free: 9.473 MB / 1.232 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.554, allocations: 54.94 kB / 1.534 GB, free: 9.41 MB / 1.232 GB
Notification: Performance of pre-optimization done (n=53): time 1.893e-06/0.554, allocations: 0 / 1.534 GB, free: 9.41 MB / 1.232 GB
Notification: Performance of matching and sorting (n=55): time 0.003638/0.5576, allocations: 1.904 MB / 1.536 GB, free: 7.461 MB / 1.232 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5576, allocations: 59.84 kB / 1.536 GB, free: 7.391 MB / 1.232 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5587, allocations: 0.8844 MB / 1.537 GB, free: 6.496 MB / 1.232 GB
Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.5587, allocations: 41.7 kB / 1.537 GB, free: 6.449 MB / 1.232 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.5592, allocations: 0.5273 MB / 1.537 GB, free: 5.914 MB / 1.232 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5594, allocations: 206.3 kB / 1.537 GB, free: 5.711 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5596, allocations: 130.6 kB / 1.537 GB, free: 5.578 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.0001425/0.5597, allocations: 330 kB / 1.538 GB, free: 5.25 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.5602, allocations: 285.8 kB / 1.538 GB, free: 4.969 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.5608, allocations: 441 kB / 1.539 GB, free: 4.488 MB / 1.232 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.003779/0.5646, allocations: 1.679 MB / 1.54 GB, free: 2.762 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5646, allocations: 0 / 1.54 GB, free: 2.762 MB / 1.232 GB
Notification: Performance of matching and sorting (n=84) (initialization): time 0.001447/0.566, allocations: 0.9288 MB / 1.541 GB, free: 1.816 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.566, allocations: 8 kB / 1.541 GB, free: 1.809 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5661, allocations: 4 kB / 1.541 GB, free: 1.805 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.5663, allocations: 98.45 kB / 1.541 GB, free: 1.699 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.5669, allocations: 163.8 kB / 1.541 GB, free: 1.539 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.5706, allocations: 4.323 MB / 1.546 GB, free: 12.88 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.5713, allocations: 40.03 kB / 1.546 GB, free: 12.84 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.5714, allocations: 27.94 kB / 1.546 GB, free: 12.81 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 (80):
 * Single equations (assignments): 77
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 3 systems
   {(1,1), (1,1), (1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004678/0.5718, allocations: 346 kB / 1.546 GB, free: 12.46 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.572, allocations: 103.4 kB / 1.546 GB, free: 12.36 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.5722, allocations: 117.2 kB / 1.546 GB, free: 12.24 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5722, allocations: 4 kB / 1.546 GB, free: 12.24 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5722, allocations: 0 / 1.546 GB, free: 12.24 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.5732, allocations: 0.7638 MB / 1.547 GB, free: 11.43 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.5763, allocations: 1.957 MB / 1.549 GB, free: 9.375 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.5763, allocations: 4 kB / 1.549 GB, free: 9.371 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.577, allocations: 147.8 kB / 1.549 GB, free: 9.227 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.309e-05/0.577, allocations: 40.84 kB / 1.549 GB, free: 9.184 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.5771, allocations: 19.98 kB / 1.549 GB, free: 9.164 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.5783, allocations: 1.506 MB / 1.55 GB, free: 7.539 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5783, allocations: 0 / 1.55 GB, free: 7.539 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.58, allocations: 1.21 MB / 1.552 GB, free: 6.27 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.5804, allocations: 195.2 kB / 1.552 GB, free: 6.078 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5805, allocations: 16 kB / 1.552 GB, free: 6.062 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.5812, allocations: 35.91 kB / 1.552 GB, free: 6.027 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5813, allocations: 47.86 kB / 1.552 GB, free: 5.98 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.5814, allocations: 27.98 kB / 1.552 GB, free: 5.953 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.0007534/0.5821, allocations: 0.6122 MB / 1.553 GB, free: 5.348 MB / 1.248 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.5821, allocations: 4 kB / 1.553 GB, free: 5.344 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.000819/0.5829, allocations: 304 kB / 1.553 GB, free: 5.047 MB / 1.248 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 (53):
 * Single equations (assignments): 52
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004179/0.5834, allocations: 202.5 kB / 1.553 GB, free: 4.852 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.00146/0.5848, allocations: 0.9839 MB / 1.554 GB, free: 3.824 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5848, allocations: 0 / 1.554 GB, free: 3.824 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.5854, allocations: 446.4 kB / 1.554 GB, free: 3.375 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.5878, allocations: 0.6498 MB / 1.555 GB, free: 2.742 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.5908, allocations: 2.14 MB / 1.557 GB, free: 0.5312 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.5917, allocations: 1.167 MB / 1.558 GB, free: 15.33 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.0007022/0.5924, allocations: 248.4 kB / 1.559 GB, free: 15.09 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.5926, allocations: 79.42 kB / 1.559 GB, free: 15.01 MB / 1.264 GB
Notification: Performance of SimCode: time 3.41e-07/0.5926, allocations: 4 kB / 1.559 GB, free: 15 MB / 1.264 GB
Notification: Performance of Templates: time 0.03582/0.6284, allocations: 23.05 MB / 1.581 GB, free: 8.25 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 8.775873495265841]