Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00196/0.00196, allocations: 187.6 kB / 22.1 MB, free: 4.223 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.492/1.492, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.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.082/3.082, allocations: 495.8 MB / 0.7831 GB, free: 12.29 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9663/0.9684, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002544/0.9709, allocations: 1.926 MB / 1.309 GB, free: 32.41 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.1877/1.159, allocations: 154.3 MB / 1.459 GB, free: 0.7773 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/1.159, allocations: 1.188 kB / 1.459 GB, free: 0.7773 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002665/1.159, allocations: 28.64 kB / 1.459 GB, free: 0.7578 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005379/1.16, allocations: 82.78 kB / 1.459 GB, free: 0.6992 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001189/1.161, allocations: 268.6 kB / 1.46 GB, free: 0.5625 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0005746/1.162, allocations: 268.5 kB / 1.46 GB, free: 448 kB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/1.162, allocations: 50.44 kB / 1.46 GB, free: 424 kB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001909/1.164, allocations: 260.9 kB / 1.46 GB, free: 328 kB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/1.164, allocations: 94.7 kB / 1.46 GB, free: 284 kB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 6.598e-05/1.164, allocations: 14.19 kB / 1.46 GB, free: 284 kB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/1.165, allocations: 174.2 kB / 1.46 GB, free: 240 kB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 9.899e-05/1.165, allocations: 42.16 kB / 1.461 GB, free: 216 kB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001726/1.165, allocations: 98.47 kB / 1.461 GB, free: 156 kB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008041/1.166, allocations: 286.4 kB / 1.461 GB, free: 48 kB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.166, allocations: 0 / 1.461 GB, free: 48 kB / 1.139 GB
Notification: Performance of FrontEnd: time 1.393e-06/1.166, allocations: 0 / 1.461 GB, free: 48 kB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.059e-05/1.166, allocations: 0 / 1.461 GB, free: 48 kB / 1.139 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.001335/1.167, allocations: 468.5 kB / 1.461 GB, free: 15.68 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.167, allocations: 10.11 kB / 1.461 GB, free: 15.68 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/1.168, allocations: 82.98 kB / 1.461 GB, free: 15.66 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/1.168, allocations: 177.5 kB / 1.462 GB, free: 15.5 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/1.169, allocations: 37.61 kB / 1.462 GB, free: 15.46 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/1.169, allocations: 15.22 kB / 1.462 GB, free: 15.46 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/1.169, allocations: 263.4 kB / 1.462 GB, free: 15.3 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.169, allocations: 1.25 kB / 1.462 GB, free: 15.3 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/1.169, allocations: 9.375 kB / 1.462 GB, free: 15.3 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/1.169, allocations: 5.469 kB / 1.462 GB, free: 15.3 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/1.17, allocations: 169.6 kB / 1.462 GB, free: 15.25 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/1.172, allocations: 1.154 MB / 1.463 GB, free: 14.27 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/1.173, allocations: 193.4 kB / 1.463 GB, free: 14.21 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/1.173, allocations: 70.5 kB / 1.463 GB, free: 14.18 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/1.173, allocations: 1.844 kB / 1.463 GB, free: 14.18 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/1.173, allocations: 37.22 kB / 1.463 GB, free: 14.13 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=12): time 1.353e-06/1.173, allocations: 0 / 1.463 GB, free: 14.13 MB / 1.154 GB
Notification: Performance of matching and sorting (n=12): time 0.002852/1.176, allocations: 489.5 kB / 1.464 GB, free: 13.99 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.176, allocations: 53.25 kB / 1.464 GB, free: 13.93 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/1.176, allocations: 214.5 kB / 1.464 GB, free: 13.79 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 3.627e-05/1.176, allocations: 31.2 kB / 1.464 GB, free: 13.75 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001134/1.176, allocations: 139.5 kB / 1.464 GB, free: 13.62 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/1.176, allocations: 44.22 kB / 1.464 GB, free: 13.59 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.176, allocations: 46.77 kB / 1.464 GB, free: 13.56 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001641/1.177, allocations: 331.4 kB / 1.465 GB, free: 13.24 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/1.177, allocations: 73.62 kB / 1.465 GB, free: 13.21 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/1.177, allocations: 124.9 kB / 1.465 GB, free: 13.12 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/1.178, allocations: 209.6 kB / 1.465 GB, free: 12.99 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.178, allocations: 0 / 1.465 GB, free: 12.99 MB / 1.154 GB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.001561/1.179, allocations: 370.5 kB / 1.466 GB, free: 12.86 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.179, allocations: 6.312 kB / 1.466 GB, free: 12.86 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/1.179, allocations: 1.734 kB / 1.466 GB, free: 12.86 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.18, allocations: 161.4 kB / 1.466 GB, free: 12.82 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/1.181, allocations: 39.08 kB / 1.466 GB, free: 12.82 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/1.185, allocations: 3.056 MB / 1.469 GB, free: 10.04 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/1.186, allocations: 34.36 kB / 1.469 GB, free: 10.02 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/1.186, allocations: 13.38 kB / 1.469 GB, free: 10.02 MB / 1.154 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.0001894/1.186, allocations: 135.2 kB / 1.469 GB, free: 9.887 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/1.186, allocations: 17.31 kB / 1.469 GB, free: 9.879 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.187, allocations: 368.3 kB / 1.469 GB, free: 9.727 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.187, allocations: 2.438 kB / 1.469 GB, free: 9.727 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.187, allocations: 4.797 kB / 1.469 GB, free: 9.723 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.187, allocations: 0.7031 kB / 1.469 GB, free: 9.723 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/1.188, allocations: 255.7 kB / 1.47 GB, free: 9.512 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.188, allocations: 1.25 kB / 1.47 GB, free: 9.512 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/1.188, allocations: 20.64 kB / 1.47 GB, free: 9.512 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008617/1.189, allocations: 141 kB / 1.47 GB, free: 9.477 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/1.189, allocations: 9.172 kB / 1.47 GB, free: 9.469 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/1.193, allocations: 3.098 MB / 1.473 GB, free: 6.664 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.193, allocations: 0.6562 kB / 1.473 GB, free: 6.664 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/1.195, allocations: 432.2 kB / 1.473 GB, free: 6.43 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/1.195, allocations: 36.31 kB / 1.473 GB, free: 6.41 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/1.195, allocations: 6.062 kB / 1.473 GB, free: 6.406 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/1.195, allocations: 15.91 kB / 1.473 GB, free: 6.402 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.195, allocations: 15.78 kB / 1.473 GB, free: 6.402 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/1.196, allocations: 8.562 kB / 1.473 GB, free: 6.398 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0002597/1.196, allocations: 161.3 kB / 1.473 GB, free: 6.281 MB / 1.154 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.196, allocations: 0 / 1.473 GB, free: 6.281 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0005492/1.196, allocations: 75.05 kB / 1.473 GB, free: 6.266 MB / 1.154 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.0002486/1.197, allocations: 110.3 kB / 1.474 GB, free: 6.168 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.00126/1.198, allocations: 447.3 kB / 1.474 GB, free: 5.832 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.198, allocations: 1.125 kB / 1.474 GB, free: 5.832 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008808/1.199, allocations: 355.9 kB / 1.474 GB, free: 5.535 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/1.199, allocations: 66.19 kB / 1.474 GB, free: 5.496 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/1.2, allocations: 419.1 kB / 1.475 GB, free: 5.223 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/1.201, allocations: 0.7401 MB / 1.475 GB, free: 4.496 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0002102/1.201, allocations: 37.84 kB / 1.476 GB, free: 4.477 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/1.201, allocations: 21.89 kB / 1.476 GB, free: 4.469 MB / 1.154 GB
Notification: Performance of SimCode: time 5.31e-07/1.201, allocations: 0 / 1.476 GB, free: 4.469 MB / 1.154 GB
Notification: Performance of Templates: time 0.01473/1.216, allocations: 5.564 MB / 1.481 GB, free: 1.641 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.757903974503279]