Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001468/0.001468, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001587/0.001587, allocations: 190.7 kB / 22.22 MB, free: 5.105 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.327/1.327, 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.925/2.925, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow")
translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 58.75 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2112/0.5101, allocations: 191.7 MB / 1.503 GB, free: 9.34 MB / 1.201 GB
Notification: Performance of NFInst.instExpressions: time 0.00935/0.5194, allocations: 5.769 MB / 1.509 GB, free: 3.559 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/0.5202, allocations: 59.5 kB / 1.509 GB, free: 3.5 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.001457/0.5216, allocations: 0.6059 MB / 1.51 GB, free: 2.891 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.004401/0.526, allocations: 1.956 MB / 1.511 GB, free: 0.9258 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5291, allocations: 1.243 MB / 1.513 GB, free: 15.69 MB / 1.217 GB
Notification: Performance of NFFlatten.flatten: time 0.00389/0.533, allocations: 3.029 MB / 1.516 GB, free: 12.65 MB / 1.217 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.534, allocations: 0.7435 MB / 1.516 GB, free: 11.89 MB / 1.217 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.5363, allocations: 1.308 MB / 1.518 GB, free: 10.58 MB / 1.217 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.538, allocations: 0.9684 MB / 1.519 GB, free: 9.613 MB / 1.217 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.5382, allocations: 108 kB / 1.519 GB, free: 9.508 MB / 1.217 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.5409, allocations: 1.524 MB / 1.52 GB, free: 7.98 MB / 1.217 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.5414, allocations: 478.6 kB / 1.521 GB, free: 7.512 MB / 1.217 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.5421, allocations: 0.6495 MB / 1.521 GB, free: 6.859 MB / 1.217 GB
Notification: Performance of NFConvertDAE.convert: time 0.002647/0.5448, allocations: 2.145 MB / 1.523 GB, free: 4.707 MB / 1.217 GB
Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5448, allocations: 4 kB / 1.523 GB, free: 4.703 MB / 1.217 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.5448, allocations: 0 / 1.523 GB, free: 4.703 MB / 1.217 GB
Notification: Performance of Transformations before backend: time 1.51e-05/0.5448, allocations: 4 kB / 1.523 GB, free: 4.699 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: 213
 * Number of variables: 213
Notification: Performance of Generate backend data structure: time 0.002347/0.5471, allocations: 1.469 MB / 1.525 GB, free: 3.191 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5472, allocations: 12.03 kB / 1.525 GB, free: 3.18 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5491, allocations: 319 kB / 1.525 GB, free: 2.867 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.5505, allocations: 0.7838 MB / 1.526 GB, free: 2.055 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.5506, allocations: 66 kB / 1.526 GB, free: 1.992 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.5507, allocations: 83.95 kB / 1.526 GB, free: 1.91 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.5524, allocations: 0.9131 MB / 1.527 GB, free: 0.9883 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5524, allocations: 7.938 kB / 1.527 GB, free: 0.9805 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.5525, allocations: 32 kB / 1.527 GB, free: 0.9492 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.5525, allocations: 37.94 kB / 1.527 GB, free: 0.9102 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.554, allocations: 0.8237 MB / 1.528 GB, free: 92 kB / 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.005322/0.5593, allocations: 3.463 MB / 1.531 GB, free: 12.41 MB / 1.232 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.5601, allocations: 490.3 kB / 1.532 GB, free: 11.92 MB / 1.232 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.5606, allocations: 274 kB / 1.532 GB, free: 11.65 MB / 1.232 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.5608, allocations: 28.42 kB / 1.532 GB, free: 11.62 MB / 1.232 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.5608, allocations: 43 kB / 1.532 GB, free: 11.57 MB / 1.232 GB
Notification: Performance of pre-optimization done (n=47): time 1.503e-06/0.5608, allocations: 4 kB / 1.532 GB, free: 11.57 MB / 1.232 GB
Notification: Performance of matching and sorting (n=49): time 0.003728/0.5645, allocations: 1.71 MB / 1.534 GB, free: 9.82 MB / 1.232 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5646, allocations: 55.84 kB / 1.534 GB, free: 9.75 MB / 1.232 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.5656, allocations: 0.8019 MB / 1.534 GB, free: 8.938 MB / 1.232 GB
Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.5656, allocations: 37.7 kB / 1.534 GB, free: 8.895 MB / 1.232 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.566, allocations: 484.3 kB / 1.535 GB, free: 8.418 MB / 1.232 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5662, allocations: 182.4 kB / 1.535 GB, free: 8.238 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.5664, allocations: 114.2 kB / 1.535 GB, free: 8.121 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.0001483/0.5665, allocations: 341.8 kB / 1.536 GB, free: 7.781 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.567, allocations: 245.2 kB / 1.536 GB, free: 7.543 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5675, allocations: 349.2 kB / 1.536 GB, free: 7.164 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.003701/0.5712, allocations: 1.453 MB / 1.538 GB, free: 5.68 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5712, allocations: 7.938 kB / 1.538 GB, free: 5.672 MB / 1.232 GB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.001311/0.5725, allocations: 0.7757 MB / 1.538 GB, free: 4.883 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5726, allocations: 6.062 kB / 1.538 GB, free: 4.879 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5726, allocations: 8 kB / 1.538 GB, free: 4.871 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.5729, allocations: 101.6 kB / 1.538 GB, free: 4.766 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.5735, allocations: 143.8 kB / 1.539 GB, free: 4.625 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.5766, allocations: 3.09 MB / 1.542 GB, free: 1.305 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.5772, allocations: 27.92 kB / 1.542 GB, free: 1.277 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.5773, allocations: 31.91 kB / 1.542 GB, free: 1.246 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: 12
 * 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 (67):
 * Single equations (assignments): 65
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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): 2 systems
   {(1,4), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.5777, allocations: 297.6 kB / 1.542 GB, free: 0.9453 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.5779, allocations: 95.44 kB / 1.542 GB, free: 0.8516 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.578, allocations: 100.7 kB / 1.542 GB, free: 0.75 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.578, allocations: 7.984 kB / 1.542 GB, free: 0.7422 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.578, allocations: 7.938 kB / 1.542 GB, free: 0.7344 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.5792, allocations: 0.8387 MB / 1.543 GB, free: 15.81 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.582, allocations: 1.762 MB / 1.545 GB, free: 13.95 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.582, allocations: 4 kB / 1.545 GB, free: 13.95 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.5826, allocations: 123.8 kB / 1.545 GB, free: 13.82 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.5829, allocations: 68.81 kB / 1.545 GB, free: 13.75 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.5829, allocations: 16.2 kB / 1.545 GB, free: 13.74 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.5847, allocations: 1.683 MB / 1.546 GB, free: 11.95 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5847, allocations: 7.938 kB / 1.547 GB, free: 11.94 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5863, allocations: 1.066 MB / 1.548 GB, free: 10.81 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5867, allocations: 167.2 kB / 1.548 GB, free: 10.65 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5868, allocations: 16 kB / 1.548 GB, free: 10.63 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.5874, allocations: 27.98 kB / 1.548 GB, free: 10.61 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5875, allocations: 51.72 kB / 1.548 GB, free: 10.55 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.5876, allocations: 31.98 kB / 1.548 GB, free: 10.52 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.0008293/0.5884, allocations: 0.5615 MB / 1.548 GB, free: 9.969 MB / 1.248 GB
Notification: Performance of sort global known variables: time 1e-07/0.5884, allocations: 0 / 1.548 GB, free: 9.969 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.0007976/0.5892, allocations: 280 kB / 1.549 GB, free: 9.695 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U)
 * 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): 44
 * 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,4)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/0.5897, allocations: 197.4 kB / 1.549 GB, free: 9.496 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.00138/0.591, allocations: 0.784 MB / 1.55 GB, free: 8.684 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.591, allocations: 0 / 1.55 GB, free: 8.684 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.5916, allocations: 407.7 kB / 1.55 GB, free: 8.273 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.5939, allocations: 0.5995 MB / 1.551 GB, free: 7.688 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.5966, allocations: 1.847 MB / 1.552 GB, free: 5.762 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.5974, allocations: 1.091 MB / 1.553 GB, free: 4.641 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.0006231/0.598, allocations: 207.7 kB / 1.554 GB, free: 4.434 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.5982, allocations: 75.44 kB / 1.554 GB, free: 4.359 MB / 1.248 GB
Notification: Performance of SimCode: time 4.2e-07/0.5982, allocations: 0 / 1.554 GB, free: 4.359 MB / 1.248 GB
Notification: Performance of Templates: time 0.03434/0.6325, allocations: 21.31 MB / 1.575 GB, free: 15.32 MB / 1.279 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.739396007731557]