Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00151/0.00151, allocations: 106 kB / 18.84 MB, free: 3.043 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.2 kB / 22.1 MB, free: 5.152 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.53/1.53, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.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.352/3.352, allocations: 495.8 MB / 0.783 GB, free: 33.53 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 72.52 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4818, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.26/0.7418, allocations: 189.5 MB / 1.492 GB, free: 3.602 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01227/0.7541, allocations: 5.728 MB / 1.497 GB, free: 13.86 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.7564, allocations: 55.5 kB / 1.497 GB, free: 13.8 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.002038/0.7584, allocations: 0.6059 MB / 1.498 GB, free: 13.2 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.006532/0.765, allocations: 1.937 MB / 1.5 GB, free: 11.25 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.769, allocations: 1.233 MB / 1.501 GB, free: 10.02 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.005355/0.7744, allocations: 3.037 MB / 1.504 GB, free: 6.98 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.776, allocations: 0.8205 MB / 1.505 GB, free: 6.141 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.7795, allocations: 1.308 MB / 1.506 GB, free: 4.828 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.7821, allocations: 1.033 MB / 1.507 GB, free: 3.797 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.7823, allocations: 120 kB / 1.507 GB, free: 3.68 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.7854, allocations: 1.204 MB / 1.508 GB, free: 2.473 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.7862, allocations: 0.5843 MB / 1.509 GB, free: 1.887 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.001101/0.7873, allocations: 0.7234 MB / 1.51 GB, free: 1.16 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.004329/0.7916, allocations: 2.293 MB / 1.512 GB, free: 14.86 MB / 1.217 GB
Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7916, allocations: 4 kB / 1.512 GB, free: 14.86 MB / 1.217 GB
Notification: Performance of FrontEnd: time 1.814e-06/0.7916, allocations: 0 / 1.512 GB, free: 14.86 MB / 1.217 GB
Notification: Performance of Transformations before backend: time 1.934e-05/0.7916, allocations: 0 / 1.512 GB, free: 14.86 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.00307/0.7947, allocations: 1.59 MB / 1.514 GB, free: 13.23 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.7948, allocations: 8.031 kB / 1.514 GB, free: 13.22 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.7968, allocations: 338.8 kB / 1.514 GB, free: 12.89 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.7986, allocations: 0.8345 MB / 1.515 GB, free: 12.02 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.7986, allocations: 77.98 kB / 1.515 GB, free: 11.95 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.7988, allocations: 96 kB / 1.515 GB, free: 11.86 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.8008, allocations: 1.081 MB / 1.516 GB, free: 10.77 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.8008, allocations: 7.938 kB / 1.516 GB, free: 10.76 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.801, allocations: 44 kB / 1.516 GB, free: 10.72 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.801, allocations: 41.98 kB / 1.516 GB, free: 10.68 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.8028, allocations: 0.9876 MB / 1.517 GB, free: 9.688 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.007129/0.81, allocations: 4.306 MB / 1.521 GB, free: 5.051 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.8109, allocations: 0.563 MB / 1.522 GB, free: 4.477 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.8115, allocations: 323.6 kB / 1.522 GB, free: 4.156 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.8116, allocations: 28.42 kB / 1.522 GB, free: 4.129 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.8117, allocations: 43 kB / 1.522 GB, free: 4.078 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=53): time 3.236e-06/0.8117, allocations: 3.938 kB / 1.522 GB, free: 4.074 MB / 1.217 GB
Notification: Performance of matching and sorting (n=55): time 0.004493/0.8162, allocations: 1.908 MB / 1.524 GB, free: 2.121 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.8162, allocations: 59.84 kB / 1.524 GB, free: 2.051 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8175, allocations: 0.8882 MB / 1.525 GB, free: 1.156 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.8175, allocations: 37.7 kB / 1.525 GB, free: 1.113 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.818, allocations: 0.5274 MB / 1.525 GB, free: 0.5781 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.8182, allocations: 198.3 kB / 1.526 GB, free: 392 kB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.8184, allocations: 134.6 kB / 1.526 GB, free: 252 kB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001725/0.8186, allocations: 334 kB / 1.526 GB, free: 15.91 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.8191, allocations: 285.8 kB / 1.526 GB, free: 15.63 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.8198, allocations: 437 kB / 1.527 GB, free: 15.16 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.004183/0.824, allocations: 1.683 MB / 1.528 GB, free: 13.43 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.824, allocations: 0 / 1.528 GB, free: 13.43 MB / 1.232 GB
Notification: Performance of matching and sorting (n=84) (initialization): time 0.001737/0.8257, allocations: 0.9289 MB / 1.529 GB, free: 12.48 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.8257, allocations: 5.719 kB / 1.529 GB, free: 12.48 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.8258, allocations: 7.984 kB / 1.529 GB, free: 12.47 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.826, allocations: 98.45 kB / 1.529 GB, free: 12.36 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.8268, allocations: 167.8 kB / 1.53 GB, free: 12.2 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.8309, allocations: 4.316 MB / 1.534 GB, free: 7.543 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.8321, allocations: 40.03 kB / 1.534 GB, free: 7.504 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.8322, allocations: 31.98 kB / 1.534 GB, free: 7.473 MB / 1.232 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.0007467/0.8329, allocations: 350.3 kB / 1.534 GB, free: 7.121 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.8331, allocations: 103.3 kB / 1.534 GB, free: 7.02 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.8333, allocations: 109.2 kB / 1.534 GB, free: 6.91 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8333, allocations: 11.94 kB / 1.534 GB, free: 6.898 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8333, allocations: 3.938 kB / 1.534 GB, free: 6.895 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.8346, allocations: 0.7599 MB / 1.535 GB, free: 6.082 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.8382, allocations: 1.96 MB / 1.537 GB, free: 4.027 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.8382, allocations: 8.031 kB / 1.537 GB, free: 4.02 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.8389, allocations: 139.8 kB / 1.537 GB, free: 3.883 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.8391, allocations: 44.77 kB / 1.537 GB, free: 3.836 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.8391, allocations: 16 kB / 1.537 GB, free: 3.82 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.8407, allocations: 1.514 MB / 1.539 GB, free: 2.184 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8407, allocations: 4 kB / 1.539 GB, free: 2.18 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.8429, allocations: 1.207 MB / 1.54 GB, free: 0.9141 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/0.8436, allocations: 183.2 kB / 1.54 GB, free: 0.7344 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.8437, allocations: 19.98 kB / 1.54 GB, free: 0.7148 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.8445, allocations: 35.92 kB / 1.54 GB, free: 0.6797 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8447, allocations: 47.8 kB / 1.54 GB, free: 0.6328 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/0.8448, allocations: 35.98 kB / 1.54 GB, free: 0.5977 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.001144/0.8459, allocations: 0.6123 MB / 1.541 GB, free: 15.99 MB / 1.248 GB
Notification: Performance of sort global known variables: time 2.81e-07/0.8459, allocations: 0 / 1.541 GB, free: 15.99 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.001361/0.8473, allocations: 308 kB / 1.541 GB, free: 15.69 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.0007773/0.8481, allocations: 190 kB / 1.541 GB, free: 15.51 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.001988/0.85, allocations: 0.9793 MB / 1.542 GB, free: 14.48 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8501, allocations: 5 kB / 1.542 GB, free: 14.48 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.8508, allocations: 442.2 kB / 1.543 GB, free: 14.04 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.8536, allocations: 0.6467 MB / 1.543 GB, free: 13.4 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.8576, allocations: 2.144 MB / 1.545 GB, free: 11.19 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.8585, allocations: 1.174 MB / 1.547 GB, free: 9.984 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.0009658/0.8595, allocations: 252.4 kB / 1.547 GB, free: 9.734 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.8597, allocations: 71.44 kB / 1.547 GB, free: 9.664 MB / 1.248 GB
Notification: Performance of SimCode: time 1.393e-06/0.8597, allocations: 0 / 1.547 GB, free: 9.664 MB / 1.248 GB
Notification: Performance of Templates: time 0.04558/0.9053, allocations: 23.07 MB / 1.569 GB, free: 2.918 MB / 1.264 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.928060816600919]