Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001338/0.001338, allocations: 105.8 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.001597/0.001597, allocations: 189.7 kB / 22.1 MB, free: 5.145 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.438/1.438, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.289/3.289, allocations: 495.8 MB / 0.783 GB, free: 33.64 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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h")
translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 66.08 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2067/0.5379, allocations: 175 MB / 1.478 GB, free: 2.164 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.01205/0.5499, allocations: 8.74 MB / 1.486 GB, free: 9.402 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.5509, allocations: 31.75 kB / 1.486 GB, free: 9.371 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.000923/0.5518, allocations: 301.7 kB / 1.486 GB, free: 9.074 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.000918/0.5527, allocations: 318.4 kB / 1.487 GB, free: 8.762 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5539, allocations: 415.2 kB / 1.487 GB, free: 8.359 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.001624/0.5555, allocations: 1.168 MB / 1.488 GB, free: 7.184 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000755/0.5562, allocations: 443.1 kB / 1.489 GB, free: 6.75 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005261/0.5615, allocations: 2.176 MB / 1.491 GB, free: 4.566 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.5621, allocations: 362.4 kB / 1.491 GB, free: 4.211 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.5622, allocations: 40 kB / 1.491 GB, free: 4.172 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.5625, allocations: 79.95 kB / 1.491 GB, free: 4.094 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.5628, allocations: 275.1 kB / 1.492 GB, free: 3.824 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.5631, allocations: 286.5 kB / 1.492 GB, free: 3.543 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.564, allocations: 0.6301 MB / 1.492 GB, free: 2.91 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.564, allocations: 4 kB / 1.492 GB, free: 2.906 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.863e-06/0.564, allocations: 0 / 1.492 GB, free: 2.906 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 9.658e-06/0.564, allocations: 0 / 1.492 GB, free: 2.906 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: 133
 * Number of variables: 133
Notification: Performance of Generate backend data structure: time 0.001227/0.5652, allocations: 0.762 MB / 1.493 GB, free: 2.109 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5653, allocations: 12.03 kB / 1.493 GB, free: 2.098 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.5654, allocations: 75.5 kB / 1.493 GB, free: 2.023 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.5662, allocations: 379.2 kB / 1.494 GB, free: 1.625 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.5662, allocations: 41.31 kB / 1.494 GB, free: 1.586 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.5663, allocations: 55.98 kB / 1.494 GB, free: 1.531 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5674, allocations: 0.695 MB / 1.494 GB, free: 0.7539 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5674, allocations: 3.938 kB / 1.494 GB, free: 0.75 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.5675, allocations: 27.98 kB / 1.494 GB, free: 0.7227 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.5676, allocations: 31.92 kB / 1.494 GB, free: 0.6914 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.5683, allocations: 377.4 kB / 1.495 GB, free: 332 kB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.5717, allocations: 3.153 MB / 1.498 GB, free: 13.04 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.5721, allocations: 214.1 kB / 1.498 GB, free: 12.73 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.5723, allocations: 128.6 kB / 1.498 GB, free: 12.58 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.5723, allocations: 4 kB / 1.498 GB, free: 12.57 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.5724, allocations: 54.42 kB / 1.498 GB, free: 12.51 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.5724, allocations: 0 / 1.498 GB, free: 12.51 MB / 1.201 GB
Notification: Performance of matching and sorting (n=10): time 0.0007889/0.5732, allocations: 256.8 kB / 1.499 GB, free: 12.25 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002749/0.5734, allocations: 292 kB / 1.499 GB, free: 11.9 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.5745, allocations: 0.6881 MB / 1.5 GB, free: 11.21 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5745, allocations: 29.7 kB / 1.5 GB, free: 11.17 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.5748, allocations: 272.2 kB / 1.5 GB, free: 10.9 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.5748, allocations: 43.62 kB / 1.5 GB, free: 10.86 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.5749, allocations: 29.7 kB / 1.5 GB, free: 10.82 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001965/0.5751, allocations: 370.8 kB / 1.5 GB, free: 10.45 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.5752, allocations: 31.97 kB / 1.5 GB, free: 10.42 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.5754, allocations: 101.1 kB / 1.5 GB, free: 10.3 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.5757, allocations: 121 kB / 1.5 GB, free: 10.17 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5757, allocations: 0 / 1.5 GB, free: 10.17 MB / 1.201 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004499/0.5761, allocations: 197.3 kB / 1.501 GB, free: 9.969 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5761, allocations: 8 kB / 1.501 GB, free: 9.961 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5761, allocations: 3.938 kB / 1.501 GB, free: 9.957 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5762, allocations: 4 kB / 1.501 GB, free: 9.953 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.5764, allocations: 39.89 kB / 1.501 GB, free: 9.914 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5764, allocations: 4 kB / 1.501 GB, free: 9.91 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.5766, allocations: 59.5 kB / 1.501 GB, free: 9.852 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.5767, allocations: 8 kB / 1.501 GB, free: 9.844 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (10):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002548/0.5769, allocations: 210.2 kB / 1.501 GB, free: 9.629 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.5772, allocations: 59.62 kB / 1.501 GB, free: 9.57 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.5773, allocations: 64.19 kB / 1.501 GB, free: 9.504 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5773, allocations: 4 kB / 1.501 GB, free: 9.5 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5773, allocations: 4 kB / 1.501 GB, free: 9.496 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.5773, allocations: 4 kB / 1.501 GB, free: 9.492 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.5793, allocations: 1.268 MB / 1.502 GB, free: 8.141 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5793, allocations: 4 kB / 1.502 GB, free: 8.137 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.5795, allocations: 52.17 kB / 1.502 GB, free: 8.086 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5795, allocations: 0 / 1.502 GB, free: 8.086 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5795, allocations: 4 kB / 1.502 GB, free: 8.082 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5795, allocations: 4 kB / 1.502 GB, free: 8.078 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5795, allocations: 4 kB / 1.502 GB, free: 8.074 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.58, allocations: 342.8 kB / 1.503 GB, free: 7.695 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.5801, allocations: 75.59 kB / 1.503 GB, free: 7.621 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.5802, allocations: 7.984 kB / 1.503 GB, free: 7.613 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.5804, allocations: 8 kB / 1.503 GB, free: 7.605 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.5804, allocations: 11.92 kB / 1.503 GB, free: 7.594 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.5804, allocations: 4 kB / 1.503 GB, free: 7.59 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0006318/0.581, allocations: 0.4951 MB / 1.503 GB, free: 7.098 MB / 1.201 GB
Notification: Performance of sort global known variables: time 9e-08/0.581, allocations: 4 kB / 1.503 GB, free: 7.094 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.0004728/0.5815, allocations: 87.83 kB / 1.503 GB, free: 7.008 MB / 1.201 GB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (10):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004305/0.582, allocations: 141.2 kB / 1.504 GB, free: 6.867 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.0003955/0.5823, allocations: 115.8 kB / 1.504 GB, free: 6.754 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5823, allocations: 0 / 1.504 GB, free: 6.754 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5825, allocations: 55.84 kB / 1.504 GB, free: 6.699 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.5839, allocations: 283.9 kB / 1.504 GB, free: 6.426 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5855, allocations: 0.8875 MB / 1.505 GB, free: 5.477 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.5861, allocations: 0.905 MB / 1.506 GB, free: 4.547 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0003037/0.5864, allocations: 108.6 kB / 1.506 GB, free: 4.441 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.5865, allocations: 35.44 kB / 1.506 GB, free: 4.406 MB / 1.201 GB
Notification: Performance of SimCode: time 6.61e-07/0.5865, allocations: 0 / 1.506 GB, free: 4.406 MB / 1.201 GB
Notification: Performance of Templates: time 0.01787/0.6044, allocations: 8.555 MB / 1.514 GB, free: 11.98 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 9.40851722843945]