Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001777/0.001777, allocations: 113.7 kB / 18.84 MB, free: 2.879 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.002495/0.002495, allocations: 189.9 kB / 22.11 MB, free: 5.184 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.595/1.595, 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.192/3.192, allocations: 495.8 MB / 0.783 GB, free: 33.53 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX")
translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 70.73 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3308, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002344/0.3331, allocations: 1.295 MB / 1.308 GB, free: 0.5938 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1602/0.4933, allocations: 131 MB / 1.436 GB, free: 13.11 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.4933, allocations: 0 / 1.436 GB, free: 13.11 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.4933, allocations: 3.938 kB / 1.436 GB, free: 13.11 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.4934, allocations: 7.922 kB / 1.436 GB, free: 13.1 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.4938, allocations: 59.66 kB / 1.436 GB, free: 13.04 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.000108/0.4939, allocations: 27.88 kB / 1.436 GB, free: 13.02 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.494, allocations: 0 / 1.436 GB, free: 13.02 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.494, allocations: 15.92 kB / 1.436 GB, free: 13 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.4941, allocations: 8 kB / 1.436 GB, free: 12.99 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4941, allocations: 0 / 1.436 GB, free: 12.99 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.4942, allocations: 15.98 kB / 1.436 GB, free: 12.98 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.4942, allocations: 7.922 kB / 1.436 GB, free: 12.97 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.4943, allocations: 4 kB / 1.436 GB, free: 12.96 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.4944, allocations: 27.91 kB / 1.436 GB, free: 12.94 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4944, allocations: 0 / 1.436 GB, free: 12.94 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.703e-06/0.4944, allocations: 0 / 1.436 GB, free: 12.94 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 6.152e-06/0.4944, allocations: 8 kB / 1.436 GB, free: 12.93 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0004529/0.4949, allocations: 254.3 kB / 1.436 GB, free: 12.65 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4949, allocations: 8.031 kB / 1.436 GB, free: 12.64 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.495, allocations: 4.891 kB / 1.436 GB, free: 12.64 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4951, allocations: 110.5 kB / 1.436 GB, free: 12.5 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/0.4952, allocations: 30.27 kB / 1.436 GB, free: 12.47 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4952, allocations: 384 / 1.436 GB, free: 12.47 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.4953, allocations: 42.19 kB / 1.437 GB, free: 12.42 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4953, allocations: 7.938 kB / 1.437 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4953, allocations: 4 kB / 1.437 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4953, allocations: 0 / 1.437 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.4954, allocations: 11.98 kB / 1.437 GB, free: 12.4 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.4956, allocations: 136.6 kB / 1.437 GB, free: 12.22 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4957, allocations: 26.61 kB / 1.437 GB, free: 12.19 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.4958, allocations: 20.8 kB / 1.437 GB, free: 12.16 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4959, allocations: 12.08 kB / 1.437 GB, free: 12.15 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.496, allocations: 30.56 kB / 1.437 GB, free: 12.11 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.496, allocations: 0 / 1.437 GB, free: 12.11 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3): time 0.0003011/0.4963, allocations: 61.61 kB / 1.437 GB, free: 12.05 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4963, allocations: 51.41 kB / 1.437 GB, free: 11.98 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.4964, allocations: 101.9 kB / 1.437 GB, free: 11.88 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4964, allocations: 29.64 kB / 1.437 GB, free: 11.84 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.4965, allocations: 80.14 kB / 1.437 GB, free: 11.76 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.4965, allocations: 15.89 kB / 1.437 GB, free: 11.74 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.4965, allocations: 13.72 kB / 1.437 GB, free: 11.72 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001575/0.4967, allocations: 310.8 kB / 1.437 GB, free: 11.41 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.4968, allocations: 19.92 kB / 1.437 GB, free: 11.39 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.4968, allocations: 4 kB / 1.437 GB, free: 11.39 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.4969, allocations: 24.84 kB / 1.437 GB, free: 11.36 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4969, allocations: 0 / 1.437 GB, free: 11.36 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001409/0.497, allocations: 50.16 kB / 1.437 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4971, allocations: 7.938 kB / 1.437 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4971, allocations: 0 / 1.437 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4971, allocations: 0 / 1.437 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.4972, allocations: 11.98 kB / 1.437 GB, free: 11.29 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4972, allocations: 0 / 1.437 GB, free: 11.29 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.4972, allocations: 4 kB / 1.437 GB, free: 11.28 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.4972, allocations: 3.938 kB / 1.438 GB, free: 11.28 MB / 1.139 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (3):
 * Single equations (assignments): 3
 * 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 9.252e-05/0.4973, allocations: 114.6 kB / 1.438 GB, free: 11.16 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.4973, allocations: 7.969 kB / 1.438 GB, free: 11.15 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.4975, allocations: 57.36 kB / 1.438 GB, free: 11.08 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4975, allocations: 4 kB / 1.438 GB, free: 11.08 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4975, allocations: 0 / 1.438 GB, free: 11.08 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4975, allocations: 0 / 1.438 GB, free: 11.08 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.4977, allocations: 132.7 kB / 1.438 GB, free: 10.91 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4977, allocations: 4 kB / 1.438 GB, free: 10.9 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.4977, allocations: 4 kB / 1.438 GB, free: 10.9 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4977, allocations: 3.938 kB / 1.438 GB, free: 10.89 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4977, allocations: 7.984 kB / 1.438 GB, free: 10.89 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4977, allocations: 0 / 1.438 GB, free: 10.89 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4977, allocations: 3.938 kB / 1.438 GB, free: 10.88 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.4979, allocations: 73.08 kB / 1.438 GB, free: 10.79 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4979, allocations: 8 kB / 1.438 GB, free: 10.79 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.4979, allocations: 7.922 kB / 1.438 GB, free: 10.78 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.498, allocations: 7.938 kB / 1.438 GB, free: 10.77 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.498, allocations: 0 / 1.438 GB, free: 10.77 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.498, allocations: 0 / 1.438 GB, free: 10.77 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 5.305e-05/0.4981, allocations: 87.2 kB / 1.438 GB, free: 10.68 MB / 1.139 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4981, allocations: 0 / 1.438 GB, free: 10.68 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0002017/0.4983, allocations: 15.94 kB / 1.438 GB, free: 10.67 MB / 1.139 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 (3):
 * Single equations (assignments): 3
 * 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.0001761/0.4984, allocations: 107.2 kB / 1.438 GB, free: 10.55 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.0001593/0.4986, allocations: 23.92 kB / 1.438 GB, free: 10.53 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4986, allocations: 0 / 1.438 GB, free: 10.53 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.4987, allocations: 8 kB / 1.438 GB, free: 10.52 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4989, allocations: 13.38 kB / 1.438 GB, free: 10.51 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.4993, allocations: 132 kB / 1.438 GB, free: 10.35 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4996, allocations: 0.6845 MB / 1.439 GB, free: 9.641 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 3.968e-05/0.4996, allocations: 4 kB / 1.439 GB, free: 9.637 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.4996, allocations: 7.438 kB / 1.439 GB, free: 9.629 MB / 1.139 GB
Notification: Performance of SimCode: time 4.11e-07/0.4996, allocations: 0 / 1.439 GB, free: 9.629 MB / 1.139 GB
Notification: Performance of Templates: time 0.003521/0.5031, allocations: 0.5253 MB / 1.439 GB, free: 9.105 MB / 1.139 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.302526468411088]