Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001197/0.001197, allocations: 113.9 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.001292/0.001292, allocations: 191.7 kB / 22.23 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.318/1.318, 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.859/2.859, allocations: 0.4893 GB / 0.7884 GB, free: 32.98 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.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_latest_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_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.61 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3006, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1969/0.4976, allocations: 176.9 MB / 1.489 GB, free: 8.188 MB / 1.186 GB
Notification: Performance of NFInst.instExpressions: time 0.01097/0.5085, allocations: 8.828 MB / 1.497 GB, free: 15.34 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.5093, allocations: 27.75 kB / 1.497 GB, free: 15.31 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.5102, allocations: 305.7 kB / 1.498 GB, free: 15.01 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.000909/0.5111, allocations: 318.4 kB / 1.498 GB, free: 14.7 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.5122, allocations: 418.4 kB / 1.498 GB, free: 14.29 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.001527/0.5137, allocations: 1.164 MB / 1.5 GB, free: 13.12 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.5145, allocations: 443.1 kB / 1.5 GB, free: 12.68 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004523/0.519, allocations: 2.172 MB / 1.502 GB, free: 10.5 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.5195, allocations: 370.4 kB / 1.502 GB, free: 10.14 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.5196, allocations: 40 kB / 1.502 GB, free: 10.1 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.5198, allocations: 87.89 kB / 1.503 GB, free: 10.02 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.52, allocations: 263.3 kB / 1.503 GB, free: 9.758 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.5203, allocations: 290.5 kB / 1.503 GB, free: 9.473 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.5211, allocations: 0.6339 MB / 1.504 GB, free: 8.836 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5211, allocations: 0 / 1.504 GB, free: 8.836 MB / 1.201 GB
Notification: Performance of FrontEnd: time 9.12e-07/0.5211, allocations: 0 / 1.504 GB, free: 8.836 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 8.236e-06/0.5211, allocations: 0 / 1.504 GB, free: 8.836 MB / 1.201 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.001031/0.5221, allocations: 0.762 MB / 1.504 GB, free: 8.039 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5222, allocations: 12.03 kB / 1.504 GB, free: 8.027 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5223, allocations: 75.52 kB / 1.505 GB, free: 7.953 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.5229, allocations: 375.3 kB / 1.505 GB, free: 7.559 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.523, allocations: 41.31 kB / 1.505 GB, free: 7.52 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.523, allocations: 55.98 kB / 1.505 GB, free: 7.465 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009852/0.524, allocations: 0.7035 MB / 1.506 GB, free: 6.68 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.524, allocations: 0 / 1.506 GB, free: 6.68 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5241, allocations: 23.98 kB / 1.506 GB, free: 6.656 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.5241, allocations: 39.86 kB / 1.506 GB, free: 6.617 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.5248, allocations: 371.4 kB / 1.506 GB, free: 6.254 MB / 1.201 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.5274, allocations: 3.165 MB / 1.509 GB, free: 2.953 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5277, allocations: 214.1 kB / 1.509 GB, free: 2.652 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.5278, allocations: 124.7 kB / 1.509 GB, free: 2.5 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.5279, allocations: 15.88 kB / 1.509 GB, free: 2.484 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.5279, allocations: 46.48 kB / 1.51 GB, free: 2.43 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=10): time 2.776e-06/0.5279, allocations: 3.984 kB / 1.51 GB, free: 2.426 MB / 1.201 GB
Notification: Performance of matching and sorting (n=10): time 0.0007277/0.5286, allocations: 254.1 kB / 1.51 GB, free: 2.172 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.5288, allocations: 294.7 kB / 1.51 GB, free: 1.816 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.5296, allocations: 0.6799 MB / 1.511 GB, free: 1.125 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.5296, allocations: 33.7 kB / 1.511 GB, free: 1.086 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.5298, allocations: 268.2 kB / 1.511 GB, free: 0.8203 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.5298, allocations: 35.69 kB / 1.511 GB, free: 0.7852 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.5299, allocations: 37.73 kB / 1.511 GB, free: 0.7422 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001797/0.5301, allocations: 370.8 kB / 1.511 GB, free: 380 kB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.5302, allocations: 35.97 kB / 1.511 GB, free: 344 kB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.5303, allocations: 89.11 kB / 1.512 GB, free: 236 kB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.5306, allocations: 133 kB / 1.512 GB, free: 84 kB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5306, allocations: 0 / 1.512 GB, free: 84 kB / 1.201 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003586/0.5309, allocations: 193.1 kB / 1.512 GB, free: 15.89 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.531, allocations: 4 kB / 1.512 GB, free: 15.88 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.531, allocations: 12 kB / 1.512 GB, free: 15.87 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.531, allocations: 0 / 1.512 GB, free: 15.87 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5312, allocations: 43.95 kB / 1.512 GB, free: 15.83 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5312, allocations: 4.188 kB / 1.512 GB, free: 15.82 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5314, allocations: 55.5 kB / 1.512 GB, free: 15.77 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.5314, allocations: 8 kB / 1.512 GB, free: 15.76 MB / 1.217 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.0001965/0.5316, allocations: 201.7 kB / 1.512 GB, free: 15.55 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5318, allocations: 59.62 kB / 1.512 GB, free: 15.5 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.623e-05/0.5319, allocations: 68.19 kB / 1.512 GB, free: 15.43 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5319, allocations: 0 / 1.512 GB, free: 15.43 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5319, allocations: 4 kB / 1.512 GB, free: 15.42 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5319, allocations: 8 kB / 1.512 GB, free: 15.41 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.5333, allocations: 1.265 MB / 1.514 GB, free: 14.07 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5333, allocations: 4 kB / 1.514 GB, free: 14.06 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5335, allocations: 47.89 kB / 1.514 GB, free: 14.02 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.5335, allocations: 4 kB / 1.514 GB, free: 14.01 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5335, allocations: 4.188 kB / 1.514 GB, free: 14.01 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5335, allocations: 0 / 1.514 GB, free: 14.01 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5335, allocations: 11.88 kB / 1.514 GB, free: 14 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.5339, allocations: 346.9 kB / 1.514 GB, free: 13.61 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.5341, allocations: 71.59 kB / 1.514 GB, free: 13.54 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.5341, allocations: 8 kB / 1.514 GB, free: 13.54 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5343, allocations: 7.984 kB / 1.514 GB, free: 13.53 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.5343, allocations: 23.92 kB / 1.514 GB, free: 13.5 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.5343, allocations: 4 kB / 1.514 GB, free: 13.5 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0005353/0.5349, allocations: 0.495 MB / 1.515 GB, free: 13.01 MB / 1.217 GB
Notification: Performance of sort global known variables: time 8e-08/0.5349, allocations: 0 / 1.515 GB, free: 13.01 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0003614/0.5352, allocations: 83.89 kB / 1.515 GB, free: 12.93 MB / 1.217 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.0003066/0.5355, allocations: 136.4 kB / 1.515 GB, free: 12.79 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.0003166/0.5359, allocations: 107.8 kB / 1.515 GB, free: 12.68 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5359, allocations: 0 / 1.515 GB, free: 12.68 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.536, allocations: 64.77 kB / 1.515 GB, free: 12.62 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5373, allocations: 285.9 kB / 1.515 GB, free: 12.35 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5384, allocations: 0.8797 MB / 1.516 GB, free: 11.41 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.5389, allocations: 0.9127 MB / 1.517 GB, free: 10.47 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0002144/0.5392, allocations: 100.6 kB / 1.517 GB, free: 10.38 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.5392, allocations: 35.44 kB / 1.517 GB, free: 10.34 MB / 1.217 GB
Notification: Performance of SimCode: time 2.8e-07/0.5392, allocations: 0 / 1.517 GB, free: 10.34 MB / 1.217 GB
Notification: Performance of Templates: time 0.01537/0.5546, allocations: 8.56 MB / 1.525 GB, free: 1.898 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.28429489210248]