Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.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.001523/0.001523, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001601/0.001601, allocations: 190 kB / 22.1 MB, free: 5.148 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.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.215/3.215, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX")
translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 69.97 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3611, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002739/0.3639, allocations: 1.52 MB / 1.308 GB, free: 312 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1632/0.527, allocations: 131 MB / 1.436 GB, free: 12.78 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.5271, allocations: 7.938 kB / 1.436 GB, free: 12.77 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.5272, allocations: 0 / 1.436 GB, free: 12.77 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 8.169e-05/0.5272, allocations: 15.84 kB / 1.436 GB, free: 12.76 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.5277, allocations: 71.59 kB / 1.436 GB, free: 12.69 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001141/0.5278, allocations: 43.86 kB / 1.436 GB, free: 12.64 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.5279, allocations: 15.98 kB / 1.436 GB, free: 12.63 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.528, allocations: 23.91 kB / 1.436 GB, free: 12.61 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.5281, allocations: 27.86 kB / 1.436 GB, free: 12.58 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.5281, allocations: 4 kB / 1.436 GB, free: 12.57 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.3e-05/0.5282, allocations: 23.98 kB / 1.436 GB, free: 12.55 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.5282, allocations: 4 kB / 1.436 GB, free: 12.55 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.5282, allocations: 27.86 kB / 1.436 GB, free: 12.52 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.5284, allocations: 59.73 kB / 1.436 GB, free: 12.46 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5284, allocations: 0 / 1.436 GB, free: 12.46 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.5284, allocations: 0 / 1.436 GB, free: 12.46 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 6.292e-06/0.5284, allocations: 7.938 kB / 1.436 GB, free: 12.45 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005771/0.529, allocations: 294.1 kB / 1.437 GB, free: 12.13 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.529, allocations: 12.03 kB / 1.437 GB, free: 12.12 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.5291, allocations: 4.938 kB / 1.437 GB, free: 12.12 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.5292, allocations: 118.5 kB / 1.437 GB, free: 11.98 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5292, allocations: 384 / 1.437 GB, free: 11.98 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.5292, allocations: 384 / 1.437 GB, free: 11.98 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.5295, allocations: 70.22 kB / 1.437 GB, free: 11.9 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5295, allocations: 4.125 kB / 1.437 GB, free: 11.9 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.5296, allocations: 11.94 kB / 1.437 GB, free: 11.89 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.5296, allocations: 4 kB / 1.437 GB, free: 11.88 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.5299, allocations: 67.92 kB / 1.437 GB, free: 11.82 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.5303, allocations: 255.8 kB / 1.437 GB, free: 11.52 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.5305, allocations: 62.47 kB / 1.437 GB, free: 11.45 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5307, allocations: 36.92 kB / 1.437 GB, free: 11.41 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.5308, allocations: 11.98 kB / 1.437 GB, free: 11.4 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5308, allocations: 30.56 kB / 1.437 GB, free: 11.36 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5308, allocations: 0 / 1.437 GB, free: 11.36 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3): time 0.0005914/0.5314, allocations: 137.5 kB / 1.438 GB, free: 11.22 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5315, allocations: 55.34 kB / 1.438 GB, free: 11.16 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.5316, allocations: 117.8 kB / 1.438 GB, free: 11.03 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5316, allocations: 29.7 kB / 1.438 GB, free: 11 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.5317, allocations: 92.14 kB / 1.438 GB, free: 10.9 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.5317, allocations: 12 kB / 1.438 GB, free: 10.89 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.5317, allocations: 17.66 kB / 1.438 GB, free: 10.87 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001419/0.5319, allocations: 322.8 kB / 1.438 GB, free: 10.54 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.532, allocations: 31.95 kB / 1.438 GB, free: 10.51 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.5322, allocations: 27.97 kB / 1.438 GB, free: 10.48 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.5325, allocations: 72.78 kB / 1.438 GB, free: 10.41 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5325, allocations: 0 / 1.438 GB, free: 10.41 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003399/0.5328, allocations: 97.58 kB / 1.438 GB, free: 10.31 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5328, allocations: 8 kB / 1.438 GB, free: 10.3 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5328, allocations: 7.938 kB / 1.438 GB, free: 10.29 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5328, allocations: 0 / 1.438 GB, free: 10.29 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.533, allocations: 23.91 kB / 1.438 GB, free: 10.27 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.533, allocations: 0 / 1.438 GB, free: 10.27 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.5331, allocations: 7.984 kB / 1.438 GB, free: 10.26 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5331, allocations: 4 kB / 1.438 GB, free: 10.26 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.131e-05/0.5332, allocations: 118.5 kB / 1.439 GB, free: 10.13 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.5332, allocations: 11.95 kB / 1.439 GB, free: 10.12 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.5336, allocations: 109.9 kB / 1.439 GB, free: 10 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5336, allocations: 0 / 1.439 GB, free: 10 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5336, allocations: 0 / 1.439 GB, free: 10 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.5336, allocations: 3.984 kB / 1.439 GB, free: 9.996 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.5338, allocations: 144.7 kB / 1.439 GB, free: 9.812 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5338, allocations: 0 / 1.439 GB, free: 9.812 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5339, allocations: 19.97 kB / 1.439 GB, free: 9.793 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5339, allocations: 0 / 1.439 GB, free: 9.793 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5339, allocations: 7.938 kB / 1.439 GB, free: 9.785 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5339, allocations: 0 / 1.439 GB, free: 9.785 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5339, allocations: 0 / 1.439 GB, free: 9.785 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.5343, allocations: 199.4 kB / 1.439 GB, free: 9.574 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.5343, allocations: 11.89 kB / 1.439 GB, free: 9.562 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.5343, allocations: 0 / 1.439 GB, free: 9.562 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.5344, allocations: 19.97 kB / 1.439 GB, free: 9.543 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.5345, allocations: 4 kB / 1.439 GB, free: 9.539 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.5345, allocations: 0 / 1.439 GB, free: 9.539 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 6.541e-05/0.5346, allocations: 95.27 kB / 1.439 GB, free: 9.445 MB / 1.139 GB
Notification: Performance of sort global known variables: time 7e-08/0.5346, allocations: 0 / 1.439 GB, free: 9.445 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0002417/0.5348, allocations: 16 kB / 1.439 GB, free: 9.43 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.0001693/0.535, allocations: 107.2 kB / 1.439 GB, free: 9.316 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.0003866/0.5354, allocations: 71.8 kB / 1.439 GB, free: 9.246 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5354, allocations: 4 kB / 1.439 GB, free: 9.242 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5355, allocations: 39.95 kB / 1.439 GB, free: 9.203 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.5359, allocations: 15.88 kB / 1.439 GB, free: 9.188 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.5363, allocations: 160 kB / 1.44 GB, free: 9.004 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.5366, allocations: 0.6807 MB / 1.44 GB, free: 8.297 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 3.828e-05/0.5366, allocations: 7.984 kB / 1.44 GB, free: 8.289 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.5367, allocations: 11.44 kB / 1.44 GB, free: 8.277 MB / 1.139 GB
Notification: Performance of SimCode: time 4.81e-07/0.5367, allocations: 0 / 1.44 GB, free: 8.277 MB / 1.139 GB
Notification: Performance of Templates: time 0.004171/0.5408, allocations: 1.018 MB / 1.441 GB, free: 7.273 MB / 1.139 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.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.17511142604053]