Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001332/0.001332, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001633/0.001633, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.441/1.441, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
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 3.158/3.158, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 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-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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi")
translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.67 kB / 1.145 GB, free: 30.57 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4129, allocations: 174.9 MB / 1.316 GB, free: 9.633 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003888/0.4168, allocations: 1.944 MB / 1.318 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2002/0.617, allocations: 156 MB / 1.47 GB, free: 11.07 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.6172, allocations: 7.938 kB / 1.47 GB, free: 11.06 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.6174, allocations: 23.73 kB / 1.47 GB, free: 11.04 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.6178, allocations: 79.41 kB / 1.47 GB, free: 10.96 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.6186, allocations: 266.5 kB / 1.471 GB, free: 10.7 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0003378/0.6189, allocations: 271.1 kB / 1.471 GB, free: 10.44 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.6191, allocations: 46.55 kB / 1.471 GB, free: 10.39 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.6208, allocations: 260.8 kB / 1.471 GB, free: 10.16 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.6209, allocations: 95.55 kB / 1.471 GB, free: 10.07 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.621, allocations: 19.98 kB / 1.471 GB, free: 10.05 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.6214, allocations: 175.7 kB / 1.471 GB, free: 9.875 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.6215, allocations: 47.83 kB / 1.471 GB, free: 9.828 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.6216, allocations: 91.53 kB / 1.472 GB, free: 9.738 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.6221, allocations: 294.9 kB / 1.472 GB, free: 9.449 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6221, allocations: 0 / 1.472 GB, free: 9.449 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.6221, allocations: 0 / 1.472 GB, free: 9.449 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 7.354e-06/0.6221, allocations: 0 / 1.472 GB, free: 9.449 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 39
 * Number of variables: 39
Notification: Performance of Generate backend data structure: time 0.001025/0.6231, allocations: 469.2 kB / 1.472 GB, free: 8.961 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6232, allocations: 8.031 kB / 1.472 GB, free: 8.953 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/0.624, allocations: 83.81 kB / 1.472 GB, free: 8.871 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.6243, allocations: 174.9 kB / 1.473 GB, free: 8.676 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.6244, allocations: 38.03 kB / 1.473 GB, free: 8.633 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.6245, allocations: 19.98 kB / 1.473 GB, free: 8.613 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.625, allocations: 258.6 kB / 1.473 GB, free: 8.332 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.625, allocations: 0 / 1.473 GB, free: 8.332 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.6251, allocations: 11.98 kB / 1.473 GB, free: 8.32 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.6251, allocations: 7.938 kB / 1.473 GB, free: 8.312 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.6256, allocations: 171.7 kB / 1.473 GB, free: 8.145 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.6274, allocations: 1.145 MB / 1.474 GB, free: 6.93 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008052/0.6282, allocations: 190.7 kB / 1.474 GB, free: 6.734 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.6284, allocations: 72.81 kB / 1.474 GB, free: 6.66 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.6284, allocations: 3.984 kB / 1.474 GB, free: 6.656 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6284, allocations: 30.56 kB / 1.474 GB, free: 6.617 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.6284, allocations: 0 / 1.474 GB, free: 6.617 MB / 1.17 GB
Notification: Performance of matching and sorting (n=12): time 0.002803/0.6312, allocations: 486.7 kB / 1.475 GB, free: 6.129 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.6313, allocations: 55.34 kB / 1.475 GB, free: 6.062 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.6316, allocations: 226.9 kB / 1.475 GB, free: 5.828 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6316, allocations: 25.7 kB / 1.475 GB, free: 5.797 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6317, allocations: 136.2 kB / 1.475 GB, free: 5.66 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.6318, allocations: 47.58 kB / 1.475 GB, free: 5.613 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.6319, allocations: 49.67 kB / 1.475 GB, free: 5.559 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001624/0.632, allocations: 326.8 kB / 1.476 GB, free: 5.23 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.6323, allocations: 71.95 kB / 1.476 GB, free: 5.16 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.6325, allocations: 131.7 kB / 1.476 GB, free: 5.004 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.633, allocations: 206.7 kB / 1.476 GB, free: 4.777 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.633, allocations: 4 kB / 1.476 GB, free: 4.773 MB / 1.17 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.001543/0.6346, allocations: 374.1 kB / 1.476 GB, free: 4.398 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6346, allocations: 5.875 kB / 1.476 GB, free: 4.395 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.6346, allocations: 4 kB / 1.476 GB, free: 4.391 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.6358, allocations: 161.5 kB / 1.477 GB, free: 4.227 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.636, allocations: 39.95 kB / 1.477 GB, free: 4.188 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.6406, allocations: 3.044 MB / 1.48 GB, free: 0.9062 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.641, allocations: 39.92 kB / 1.48 GB, free: 0.8672 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.641, allocations: 11.98 kB / 1.48 GB, free: 0.8555 MB / 1.17 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * 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 (17):
 * Single equations (assignments): 15
 * 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,2), (1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.6412, allocations: 134.2 kB / 1.48 GB, free: 0.7148 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.6413, allocations: 19.91 kB / 1.48 GB, free: 0.6953 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.6427, allocations: 364.3 kB / 1.48 GB, free: 328 kB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6427, allocations: 4 kB / 1.48 GB, free: 324 kB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6427, allocations: 8 kB / 1.48 GB, free: 316 kB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6427, allocations: 0 / 1.48 GB, free: 316 kB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.643, allocations: 252.5 kB / 1.48 GB, free: 20 kB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6431, allocations: 0 / 1.48 GB, free: 20 kB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.6432, allocations: 23.97 kB / 1.48 GB, free: 15.99 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008673/0.6441, allocations: 141.5 kB / 1.481 GB, free: 15.85 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.6441, allocations: 4 kB / 1.481 GB, free: 15.85 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.6481, allocations: 3.095 MB / 1.484 GB, free: 12.51 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6481, allocations: 0 / 1.484 GB, free: 12.51 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6494, allocations: 434.5 kB / 1.484 GB, free: 12.07 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6495, allocations: 39.72 kB / 1.484 GB, free: 12.03 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.6496, allocations: 7.984 kB / 1.484 GB, free: 12.02 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.6498, allocations: 11.98 kB / 1.484 GB, free: 12.01 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.6499, allocations: 20.16 kB / 1.484 GB, free: 11.99 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.6499, allocations: 4 kB / 1.484 GB, free: 11.98 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002017/0.6501, allocations: 155.2 kB / 1.484 GB, free: 11.83 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.6501, allocations: 8 kB / 1.484 GB, free: 11.82 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0004346/0.6506, allocations: 67.94 kB / 1.484 GB, free: 11.76 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (12):
 * 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: 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,3), (1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.6508, allocations: 119.2 kB / 1.484 GB, free: 11.63 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001158/0.652, allocations: 445.6 kB / 1.485 GB, free: 11.17 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.652, allocations: 0 / 1.485 GB, free: 11.17 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.000707/0.6527, allocations: 355.4 kB / 1.485 GB, free: 10.8 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.6531, allocations: 61.72 kB / 1.485 GB, free: 10.74 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6541, allocations: 424.6 kB / 1.486 GB, free: 10.3 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.6545, allocations: 0.7362 MB / 1.486 GB, free: 9.539 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0001809/0.6547, allocations: 37.92 kB / 1.486 GB, free: 9.504 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.6548, allocations: 27.42 kB / 1.486 GB, free: 9.48 MB / 1.186 GB
Notification: Performance of SimCode: time 3.81e-07/0.6548, allocations: 0 / 1.486 GB, free: 9.48 MB / 1.186 GB
Notification: Performance of Templates: time 0.0114/0.6662, allocations: 5.553 MB / 1.492 GB, free: 3.984 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.430830993689597]