Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001542/0.001542, allocations: 108.8 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.001587/0.001587, allocations: 191.5 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.314/1.314, allocations: 225.6 MB / 251 MB, free: 13.01 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.873/2.873, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate")
translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 66.36 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2874, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1832/0.4706, allocations: 171.8 MB / 1.484 GB, free: 13.25 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.006344/0.4769, allocations: 4.327 MB / 1.488 GB, free: 8.914 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/0.4774, allocations: 23.81 kB / 1.488 GB, free: 8.891 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009238/0.4783, allocations: 362 kB / 1.488 GB, free: 8.535 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.002166/0.4805, allocations: 1.05 MB / 1.489 GB, free: 7.48 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.4824, allocations: 0.8378 MB / 1.49 GB, free: 6.648 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.001563/0.4839, allocations: 1.317 MB / 1.492 GB, free: 5.324 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.4845, allocations: 375.9 kB / 1.492 GB, free: 4.949 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.4856, allocations: 0.7434 MB / 1.493 GB, free: 4.203 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.4866, allocations: 480.8 kB / 1.493 GB, free: 3.734 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.4867, allocations: 52 kB / 1.493 GB, free: 3.684 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.4882, allocations: 0.951 MB / 1.494 GB, free: 2.73 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.4884, allocations: 219.3 kB / 1.494 GB, free: 2.516 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.4887, allocations: 326.5 kB / 1.495 GB, free: 2.195 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.001397/0.4901, allocations: 1.137 MB / 1.496 GB, free: 1.055 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4901, allocations: 4 kB / 1.496 GB, free: 1.051 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.252e-06/0.4901, allocations: 0 / 1.496 GB, free: 1.051 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 8.636e-06/0.4901, allocations: 3.938 kB / 1.496 GB, free: 1.047 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: 106
 * Number of variables: 106
Notification: Performance of Generate backend data structure: time 0.001537/0.4916, allocations: 0.8975 MB / 1.497 GB, free: 120 kB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.4917, allocations: 8.031 kB / 1.497 GB, free: 112 kB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4932, allocations: 259.4 kB / 1.497 GB, free: 15.86 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.494, allocations: 446.5 kB / 1.497 GB, free: 15.39 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.4941, allocations: 33 kB / 1.497 GB, free: 15.36 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.4941, allocations: 36 kB / 1.497 GB, free: 15.33 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.4953, allocations: 0.6146 MB / 1.498 GB, free: 14.69 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4953, allocations: 0 / 1.498 GB, free: 14.69 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.4954, allocations: 24 kB / 1.498 GB, free: 14.66 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.4954, allocations: 17 kB / 1.498 GB, free: 14.65 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4967, allocations: 0.5503 MB / 1.498 GB, free: 14.09 MB / 1.201 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.00388/0.5006, allocations: 2.225 MB / 1.501 GB, free: 11.75 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.5015, allocations: 266.4 kB / 1.501 GB, free: 11.48 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.502, allocations: 168.7 kB / 1.501 GB, free: 11.32 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.502, allocations: 8.156 kB / 1.501 GB, free: 11.31 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5021, allocations: 34.5 kB / 1.501 GB, free: 11.27 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.5021, allocations: 0 / 1.501 GB, free: 11.27 MB / 1.201 GB
Notification: Performance of matching and sorting (n=11): time 0.005106/0.5072, allocations: 1.013 MB / 1.502 GB, free: 10.24 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.5072, allocations: 85.05 kB / 1.502 GB, free: 10.14 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.508, allocations: 0.5457 MB / 1.503 GB, free: 9.586 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.508, allocations: 33.7 kB / 1.503 GB, free: 9.547 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5083, allocations: 312 kB / 1.503 GB, free: 9.238 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.5083, allocations: 47.61 kB / 1.503 GB, free: 9.191 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.5084, allocations: 57.66 kB / 1.503 GB, free: 9.129 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001641/0.5086, allocations: 358.8 kB / 1.503 GB, free: 8.77 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.5092, allocations: 191.8 kB / 1.504 GB, free: 8.582 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.5098, allocations: 269.2 kB / 1.504 GB, free: 8.285 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5108, allocations: 402.1 kB / 1.504 GB, free: 7.863 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5108, allocations: 4 kB / 1.504 GB, free: 7.859 MB / 1.201 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.002534/0.5134, allocations: 0.7319 MB / 1.505 GB, free: 7.117 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5134, allocations: 8 kB / 1.505 GB, free: 7.109 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5134, allocations: 0 / 1.505 GB, free: 7.109 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.514, allocations: 184.8 kB / 1.505 GB, free: 6.926 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5144, allocations: 75.88 kB / 1.505 GB, free: 6.852 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.5182, allocations: 2.125 MB / 1.507 GB, free: 4.613 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.5188, allocations: 79.64 kB / 1.507 GB, free: 4.535 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.5188, allocations: 15.97 kB / 1.507 GB, free: 4.52 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (26):
 * Single equations (assignments): 25
 * 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 prepare postOptimizeDAE: time 0.000266/0.5191, allocations: 189.8 kB / 1.508 GB, free: 4.324 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5192, allocations: 55.67 kB / 1.508 GB, free: 4.27 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.5193, allocations: 51.97 kB / 1.508 GB, free: 4.219 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5193, allocations: 4 kB / 1.508 GB, free: 4.215 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5193, allocations: 0 / 1.508 GB, free: 4.215 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5193, allocations: 7.984 kB / 1.508 GB, free: 4.207 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.5222, allocations: 1.101 MB / 1.509 GB, free: 3.047 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5222, allocations: 4.188 kB / 1.509 GB, free: 3.043 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.5225, allocations: 40.02 kB / 1.509 GB, free: 3.004 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/0.523, allocations: 176.7 kB / 1.509 GB, free: 2.828 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.523, allocations: 8 kB / 1.509 GB, free: 2.82 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.5266, allocations: 2.084 MB / 1.511 GB, free: 0.6211 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5266, allocations: 3.938 kB / 1.511 GB, free: 0.6172 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.529, allocations: 0.7083 MB / 1.512 GB, free: 15.88 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.5293, allocations: 99.55 kB / 1.512 GB, free: 15.79 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.5293, allocations: 0 / 1.512 GB, free: 15.79 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/0.5299, allocations: 52.08 kB / 1.512 GB, free: 15.73 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.5299, allocations: 19.91 kB / 1.512 GB, free: 15.71 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.53, allocations: 15.98 kB / 1.512 GB, free: 15.7 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0005082/0.5305, allocations: 398.8 kB / 1.512 GB, free: 15.31 MB / 1.217 GB
Notification: Performance of sort global known variables: time 9e-08/0.5305, allocations: 0 / 1.512 GB, free: 15.31 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0006052/0.5311, allocations: 179.8 kB / 1.513 GB, free: 15.14 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 simulation (7):
 * Single equations (assignments): 6
 * 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.0004243/0.5315, allocations: 169.7 kB / 1.513 GB, free: 14.96 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.001471/0.533, allocations: 0.514 MB / 1.513 GB, free: 14.44 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.533, allocations: 0 / 1.513 GB, free: 14.44 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.5337, allocations: 295 kB / 1.513 GB, free: 14.14 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5349, allocations: 320 kB / 1.514 GB, free: 13.83 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.5378, allocations: 1.071 MB / 1.515 GB, free: 12.72 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.5383, allocations: 0.8621 MB / 1.516 GB, free: 11.83 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0003502/0.5386, allocations: 112.5 kB / 1.516 GB, free: 11.72 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.5387, allocations: 39.44 kB / 1.516 GB, free: 11.69 MB / 1.217 GB
Notification: Performance of SimCode: time 6.81e-07/0.5387, allocations: 0 / 1.516 GB, free: 11.69 MB / 1.217 GB
Notification: Performance of Templates: time 0.02041/0.5591, allocations: 12.71 MB / 1.528 GB, free: 15.14 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.409519465640187]