Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, allocations: 104.5 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.001449/0.001449, allocations: 191.2 kB / 22.11 MB, free: 5.156 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.338/3.338, allocations: 495.8 MB / 0.783 GB, free: 33.63 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 70.81 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4393, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2284/0.6677, allocations: 170 MB / 1.473 GB, free: 7.215 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.008016/0.6757, allocations: 4.291 MB / 1.477 GB, free: 2.914 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008864/0.6766, allocations: 31.75 kB / 1.477 GB, free: 2.883 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.001228/0.6778, allocations: 365.9 kB / 1.477 GB, free: 2.523 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002969/0.6808, allocations: 1.062 MB / 1.478 GB, free: 1.457 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.6833, allocations: 0.8283 MB / 1.479 GB, free: 0.6328 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.002071/0.6853, allocations: 1.317 MB / 1.48 GB, free: 15.31 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.686, allocations: 372 kB / 1.481 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.6874, allocations: 0.7433 MB / 1.481 GB, free: 14.2 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.6887, allocations: 478.9 kB / 1.482 GB, free: 13.73 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 9.606e-05/0.6888, allocations: 52 kB / 1.482 GB, free: 13.68 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.6904, allocations: 0.7717 MB / 1.483 GB, free: 12.91 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.6907, allocations: 219.3 kB / 1.483 GB, free: 12.7 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.691, allocations: 330.5 kB / 1.483 GB, free: 12.37 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.001737/0.6928, allocations: 1.113 MB / 1.484 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6928, allocations: 0 / 1.484 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.6928, allocations: 0 / 1.484 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 1.755e-05/0.6928, allocations: 3.938 kB / 1.484 GB, free: 11.25 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.00184/0.6946, allocations: 0.8956 MB / 1.485 GB, free: 10.32 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6947, allocations: 8.031 kB / 1.485 GB, free: 10.32 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.6964, allocations: 263.4 kB / 1.485 GB, free: 10.06 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.6974, allocations: 434.6 kB / 1.486 GB, free: 9.605 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.6974, allocations: 33 kB / 1.486 GB, free: 9.57 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.6975, allocations: 36 kB / 1.486 GB, free: 9.535 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.6989, allocations: 0.6223 MB / 1.487 GB, free: 8.891 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6989, allocations: 0 / 1.487 GB, free: 8.891 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.699, allocations: 23.94 kB / 1.487 GB, free: 8.867 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.699, allocations: 20.98 kB / 1.487 GB, free: 8.848 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.7004, allocations: 0.5464 MB / 1.487 GB, free: 8.301 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.004303/0.7047, allocations: 2.222 MB / 1.489 GB, free: 5.965 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.7056, allocations: 274.3 kB / 1.49 GB, free: 5.688 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.7061, allocations: 164.7 kB / 1.49 GB, free: 5.523 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.7061, allocations: 3.938 kB / 1.49 GB, free: 5.52 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.7062, allocations: 38.56 kB / 1.49 GB, free: 5.473 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.7062, allocations: 4 kB / 1.49 GB, free: 5.469 MB / 1.186 GB
Notification: Performance of matching and sorting (n=11): time 0.005126/0.7113, allocations: 1.005 MB / 1.491 GB, free: 4.453 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.7114, allocations: 81.11 kB / 1.491 GB, free: 4.355 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/0.7122, allocations: 0.5496 MB / 1.491 GB, free: 3.797 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.7122, allocations: 33.7 kB / 1.491 GB, free: 3.758 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.7125, allocations: 312 kB / 1.492 GB, free: 3.449 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.7126, allocations: 43.67 kB / 1.492 GB, free: 3.406 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7127, allocations: 61.64 kB / 1.492 GB, free: 3.34 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002181/0.7129, allocations: 354.8 kB / 1.492 GB, free: 2.984 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.7135, allocations: 191.8 kB / 1.492 GB, free: 2.797 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.7142, allocations: 265.7 kB / 1.493 GB, free: 2.504 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7153, allocations: 414.4 kB / 1.493 GB, free: 2.07 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7153, allocations: 4 kB / 1.493 GB, free: 2.066 MB / 1.186 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.002654/0.7179, allocations: 0.7265 MB / 1.494 GB, free: 1.332 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.718, allocations: 8 kB / 1.494 GB, free: 1.324 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.718, allocations: 0 / 1.494 GB, free: 1.324 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.7187, allocations: 192.8 kB / 1.494 GB, free: 1.133 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.7191, allocations: 63.89 kB / 1.494 GB, free: 1.07 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.7232, allocations: 2.139 MB / 1.496 GB, free: 14.81 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.7239, allocations: 79.64 kB / 1.496 GB, free: 14.73 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.7239, allocations: 11.98 kB / 1.496 GB, free: 14.72 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.0003614/0.7243, allocations: 189.8 kB / 1.496 GB, free: 14.53 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.7244, allocations: 51.67 kB / 1.496 GB, free: 14.48 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.7245, allocations: 59.97 kB / 1.496 GB, free: 14.42 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7245, allocations: 0 / 1.496 GB, free: 14.42 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.7245, allocations: 0 / 1.496 GB, free: 14.42 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7245, allocations: 0 / 1.496 GB, free: 14.42 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.7276, allocations: 1.108 MB / 1.498 GB, free: 13.25 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.7276, allocations: 0 / 1.498 GB, free: 13.25 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.7278, allocations: 40.02 kB / 1.498 GB, free: 13.21 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/0.7283, allocations: 184.7 kB / 1.498 GB, free: 13.03 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.7284, allocations: 4 kB / 1.498 GB, free: 13.03 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/0.732, allocations: 2.084 MB / 1.5 GB, free: 10.82 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.732, allocations: 4.062 kB / 1.5 GB, free: 10.82 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.7344, allocations: 0.708 MB / 1.5 GB, free: 10.09 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.7347, allocations: 91.66 kB / 1.501 GB, free: 9.996 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.7348, allocations: 0 / 1.501 GB, free: 9.996 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.7353, allocations: 54.94 kB / 1.501 GB, free: 9.945 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.7354, allocations: 15.97 kB / 1.501 GB, free: 9.93 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.7354, allocations: 11.98 kB / 1.501 GB, free: 9.918 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0005151/0.736, allocations: 394.8 kB / 1.501 GB, free: 9.535 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1e-07/0.736, allocations: 4 kB / 1.501 GB, free: 9.531 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.0007246/0.7367, allocations: 179.7 kB / 1.501 GB, free: 9.355 MB / 1.201 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.0005074/0.7372, allocations: 182.3 kB / 1.501 GB, free: 9.172 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.001593/0.7388, allocations: 0.5178 MB / 1.502 GB, free: 8.641 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7388, allocations: 0 / 1.502 GB, free: 8.641 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.7395, allocations: 298.9 kB / 1.502 GB, free: 8.336 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7408, allocations: 300.5 kB / 1.502 GB, free: 8.047 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.744, allocations: 1.073 MB / 1.503 GB, free: 6.934 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.7446, allocations: 0.8621 MB / 1.504 GB, free: 6.043 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0004141/0.745, allocations: 108.5 kB / 1.504 GB, free: 5.938 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.7451, allocations: 35.44 kB / 1.504 GB, free: 5.906 MB / 1.201 GB
Notification: Performance of SimCode: time 6.21e-07/0.7451, allocations: 0 / 1.504 GB, free: 5.906 MB / 1.201 GB
Notification: Performance of Templates: time 0.02339/0.7685, allocations: 12.72 MB / 1.517 GB, free: 9.355 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.087659493088722]