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.001819/0.001819, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002154/0.002154, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.02 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.222/3.222, allocations: 496 MB / 0.7835 GB, free: 33.71 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.002033/0.002033, allocations: 66.2 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002248/0.3196, allocations: 1.289 MB / 1.309 GB, free: 496 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1558/0.4754, allocations: 132.4 MB / 1.438 GB, free: 11.57 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.4754, allocations: 4 kB / 1.438 GB, free: 11.57 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.4754, allocations: 3.984 kB / 1.438 GB, free: 11.56 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.4755, allocations: 7.922 kB / 1.438 GB, free: 11.55 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.4758, allocations: 59.61 kB / 1.438 GB, free: 11.5 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.4759, allocations: 27.86 kB / 1.438 GB, free: 11.47 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.476, allocations: 3.984 kB / 1.438 GB, free: 11.46 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.476, allocations: 8 kB / 1.438 GB, free: 11.46 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.4761, allocations: 7.984 kB / 1.438 GB, free: 11.45 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4761, allocations: 0 / 1.438 GB, free: 11.45 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.4761, allocations: 23.86 kB / 1.438 GB, free: 11.43 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.4762, allocations: 11.98 kB / 1.438 GB, free: 11.41 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.4762, allocations: 4 kB / 1.438 GB, free: 11.41 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.000102/0.4763, allocations: 19.92 kB / 1.438 GB, free: 11.39 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4763, allocations: 0 / 1.438 GB, free: 11.39 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.4763, allocations: 4 kB / 1.438 GB, free: 11.39 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.13e-05/0.4763, allocations: 3.938 kB / 1.438 GB, free: 11.38 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.0003957/0.4767, allocations: 258.3 kB / 1.438 GB, free: 11.1 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4767, allocations: 8.922 kB / 1.438 GB, free: 11.09 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.4768, allocations: 4.891 kB / 1.438 GB, free: 11.09 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.4769, allocations: 114.5 kB / 1.438 GB, free: 10.95 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.4769, allocations: 30.27 kB / 1.438 GB, free: 10.91 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.477, allocations: 384 / 1.438 GB, free: 10.91 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4771, allocations: 38.25 kB / 1.438 GB, free: 10.87 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4771, allocations: 3.938 kB / 1.438 GB, free: 10.87 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.4771, allocations: 4 kB / 1.438 GB, free: 10.86 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4771, allocations: 0 / 1.438 GB, free: 10.86 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.4772, allocations: 15.92 kB / 1.438 GB, free: 10.85 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.4773, allocations: 132.7 kB / 1.439 GB, free: 10.68 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.4774, allocations: 26.58 kB / 1.439 GB, free: 10.64 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.4775, allocations: 16.94 kB / 1.439 GB, free: 10.62 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.4776, allocations: 11.98 kB / 1.439 GB, free: 10.61 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4776, allocations: 34.5 kB / 1.439 GB, free: 10.57 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4776, allocations: 4 kB / 1.439 GB, free: 10.56 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3): time 0.0002192/0.4778, allocations: 61.56 kB / 1.439 GB, free: 10.5 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4779, allocations: 55.39 kB / 1.439 GB, free: 10.43 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.478, allocations: 97.86 kB / 1.439 GB, free: 10.32 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.478, allocations: 25.7 kB / 1.439 GB, free: 10.29 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.478, allocations: 80.14 kB / 1.439 GB, free: 10.21 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.478, allocations: 11.91 kB / 1.439 GB, free: 10.2 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.4781, allocations: 21.7 kB / 1.439 GB, free: 10.17 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001274/0.4782, allocations: 314.8 kB / 1.439 GB, free: 9.855 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.4782, allocations: 4 kB / 1.439 GB, free: 9.852 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.4783, allocations: 7.984 kB / 1.439 GB, free: 9.844 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.4784, allocations: 29.25 kB / 1.439 GB, free: 9.812 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4784, allocations: 0 / 1.439 GB, free: 9.812 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001189/0.4785, allocations: 49.69 kB / 1.439 GB, free: 9.758 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4785, allocations: 11.94 kB / 1.439 GB, free: 9.746 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4785, allocations: 0 / 1.439 GB, free: 9.746 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4785, allocations: 4.031 kB / 1.439 GB, free: 9.742 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.4786, allocations: 8 kB / 1.439 GB, free: 9.734 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4786, allocations: 0 / 1.439 GB, free: 9.734 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.4786, allocations: 7.984 kB / 1.439 GB, free: 9.727 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.4786, allocations: 0 / 1.439 GB, free: 9.727 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 7.74e-05/0.4787, allocations: 114.6 kB / 1.44 GB, free: 9.605 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.4787, allocations: 3.938 kB / 1.44 GB, free: 9.602 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.4789, allocations: 69.3 kB / 1.44 GB, free: 9.523 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4789, allocations: 0 / 1.44 GB, free: 9.523 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4789, allocations: 3.938 kB / 1.44 GB, free: 9.52 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4789, allocations: 0 / 1.44 GB, free: 9.52 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.479, allocations: 128.7 kB / 1.44 GB, free: 9.352 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.479, allocations: 0 / 1.44 GB, free: 9.352 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.479, allocations: 8 kB / 1.44 GB, free: 9.344 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.479, allocations: 7.938 kB / 1.44 GB, free: 9.336 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.479, allocations: 0 / 1.44 GB, free: 9.336 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.479, allocations: 0 / 1.44 GB, free: 9.336 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.479, allocations: 4 kB / 1.44 GB, free: 9.332 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.4792, allocations: 77.05 kB / 1.44 GB, free: 9.238 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.4792, allocations: 3.938 kB / 1.44 GB, free: 9.234 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4792, allocations: 3.938 kB / 1.44 GB, free: 9.23 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.4792, allocations: 8 kB / 1.44 GB, free: 9.223 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.4793, allocations: 3.984 kB / 1.44 GB, free: 9.219 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.4793, allocations: 0 / 1.44 GB, free: 9.219 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 3.968e-05/0.4793, allocations: 83.28 kB / 1.44 GB, free: 9.137 MB / 1.139 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4793, allocations: 0 / 1.44 GB, free: 9.137 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0001878/0.4795, allocations: 11.94 kB / 1.44 GB, free: 9.125 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.0001437/0.4797, allocations: 107.2 kB / 1.44 GB, free: 9.008 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.000142/0.4798, allocations: 19.98 kB / 1.44 GB, free: 8.988 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.4798, allocations: 0 / 1.44 GB, free: 8.988 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.4798, allocations: 11.92 kB / 1.44 GB, free: 8.977 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4801, allocations: 12.94 kB / 1.44 GB, free: 8.965 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.4804, allocations: 128 kB / 1.44 GB, free: 8.812 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4806, allocations: 0.6768 MB / 1.441 GB, free: 8.109 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 3.737e-05/0.4807, allocations: 8 kB / 1.441 GB, free: 8.102 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.4807, allocations: 7.438 kB / 1.441 GB, free: 8.094 MB / 1.139 GB
Notification: Performance of SimCode: time 3.1e-07/0.4807, allocations: 0 / 1.441 GB, free: 8.094 MB / 1.139 GB
Notification: Performance of Templates: time 0.002947/0.4836, allocations: 0.5437 MB / 1.441 GB, free: 7.559 MB / 1.139 GB
"
[Timeout remaining time 300]
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: 8.912440743297338]