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.001468/0.001468, allocations: 110 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.0014/0.0014, allocations: 194 kB / 22.23 MB, free: 5.156 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.439/1.439, allocations: 225.6 MB / 251 MB, free: 13.01 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.186/3.186, allocations: 496 MB / 0.7835 GB, free: 33.59 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.002021/0.002021, allocations: 59.25 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002831/0.354, allocations: 1.516 MB / 1.309 GB, free: 272 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.1574/0.5114, allocations: 132.5 MB / 1.438 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.5114, allocations: 0 / 1.438 GB, free: 11.3 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.5115, allocations: 3.938 kB / 1.438 GB, free: 11.29 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.5115, allocations: 11.86 kB / 1.438 GB, free: 11.28 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.5119, allocations: 67.66 kB / 1.438 GB, free: 11.21 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0001031/0.512, allocations: 55.78 kB / 1.438 GB, free: 11.16 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.5121, allocations: 11.98 kB / 1.438 GB, free: 11.15 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.5121, allocations: 15.94 kB / 1.438 GB, free: 11.13 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.5122, allocations: 39.77 kB / 1.438 GB, free: 11.09 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.5122, allocations: 8 kB / 1.438 GB, free: 11.09 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.5123, allocations: 16 kB / 1.438 GB, free: 11.07 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.5123, allocations: 7.984 kB / 1.438 GB, free: 11.06 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.5124, allocations: 27.86 kB / 1.438 GB, free: 11.04 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.5125, allocations: 51.77 kB / 1.438 GB, free: 10.98 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.5125, allocations: 0 / 1.438 GB, free: 10.98 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.5125, allocations: 0 / 1.438 GB, free: 10.98 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 5.541e-06/0.5125, allocations: 3.938 kB / 1.438 GB, free: 10.98 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.0005359/0.5131, allocations: 306.1 kB / 1.439 GB, free: 10.65 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5131, allocations: 12.92 kB / 1.439 GB, free: 10.64 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.5131, allocations: 0.9375 kB / 1.439 GB, free: 10.64 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.5132, allocations: 114.5 kB / 1.439 GB, free: 10.5 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5132, allocations: 4.375 kB / 1.439 GB, free: 10.5 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.5133, allocations: 384 / 1.439 GB, free: 10.5 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5135, allocations: 78.19 kB / 1.439 GB, free: 10.41 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5135, allocations: 4.188 kB / 1.439 GB, free: 10.41 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5136, allocations: 11.94 kB / 1.439 GB, free: 10.4 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5136, allocations: 4 kB / 1.439 GB, free: 10.39 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.5138, allocations: 67.86 kB / 1.439 GB, free: 10.33 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.5142, allocations: 255.8 kB / 1.439 GB, free: 10.04 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.5144, allocations: 54.55 kB / 1.439 GB, free: 9.973 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.5146, allocations: 40.91 kB / 1.439 GB, free: 9.93 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.5147, allocations: 11.98 kB / 1.439 GB, free: 9.918 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5147, allocations: 34.5 kB / 1.439 GB, free: 9.875 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5147, allocations: 4 kB / 1.439 GB, free: 9.871 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3): time 0.0005296/0.5153, allocations: 133.7 kB / 1.439 GB, free: 9.734 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5153, allocations: 55.41 kB / 1.44 GB, free: 9.668 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.5154, allocations: 113.8 kB / 1.44 GB, free: 9.547 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.5154, allocations: 25.7 kB / 1.44 GB, free: 9.516 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.5155, allocations: 96.14 kB / 1.44 GB, free: 9.418 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.5155, allocations: 3.953 kB / 1.44 GB, free: 9.414 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.5155, allocations: 17.7 kB / 1.44 GB, free: 9.391 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001451/0.5157, allocations: 322.8 kB / 1.44 GB, free: 9.066 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5158, allocations: 27.97 kB / 1.44 GB, free: 9.039 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.516, allocations: 43.83 kB / 1.44 GB, free: 8.996 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.5162, allocations: 68.78 kB / 1.44 GB, free: 8.926 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5162, allocations: 0 / 1.44 GB, free: 8.926 MB / 1.139 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002993/0.5165, allocations: 101.5 kB / 1.44 GB, free: 8.82 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5165, allocations: 12 kB / 1.44 GB, free: 8.809 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5165, allocations: 0 / 1.44 GB, free: 8.809 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5165, allocations: 0 / 1.44 GB, free: 8.809 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5167, allocations: 11.98 kB / 1.44 GB, free: 8.797 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5167, allocations: 7.984 kB / 1.44 GB, free: 8.789 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.5168, allocations: 7.984 kB / 1.44 GB, free: 8.781 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5168, allocations: 4 kB / 1.44 GB, free: 8.777 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.604e-05/0.5169, allocations: 126.5 kB / 1.44 GB, free: 8.645 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.5169, allocations: 7.953 kB / 1.44 GB, free: 8.637 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.5173, allocations: 105.6 kB / 1.441 GB, free: 8.52 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5173, allocations: 0 / 1.441 GB, free: 8.52 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5173, allocations: 0 / 1.441 GB, free: 8.52 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5173, allocations: 0 / 1.441 GB, free: 8.52 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.5175, allocations: 148.7 kB / 1.441 GB, free: 8.332 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5175, allocations: 8 kB / 1.441 GB, free: 8.324 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.5175, allocations: 11.98 kB / 1.441 GB, free: 8.312 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5175, allocations: 0 / 1.441 GB, free: 8.312 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.5176, allocations: 0 / 1.441 GB, free: 8.312 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5176, allocations: 4 kB / 1.441 GB, free: 8.309 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5176, allocations: 3.984 kB / 1.441 GB, free: 8.305 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.5179, allocations: 203.4 kB / 1.441 GB, free: 8.09 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.5179, allocations: 11.89 kB / 1.441 GB, free: 8.078 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.518, allocations: 0 / 1.441 GB, free: 8.078 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5181, allocations: 15.98 kB / 1.441 GB, free: 8.062 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.5181, allocations: 7.984 kB / 1.441 GB, free: 8.055 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5181, allocations: 0 / 1.441 GB, free: 8.055 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 6.405e-05/0.5182, allocations: 95.27 kB / 1.441 GB, free: 7.961 MB / 1.139 GB
Notification: Performance of sort global known variables: time 1e-07/0.5182, allocations: 4 kB / 1.441 GB, free: 7.957 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.0002348/0.5184, allocations: 12 kB / 1.441 GB, free: 7.945 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.0001499/0.5186, allocations: 113.4 kB / 1.441 GB, free: 7.828 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.0003416/0.5189, allocations: 67.86 kB / 1.441 GB, free: 7.762 MB / 1.139 GB
Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5189, allocations: 0 / 1.441 GB, free: 7.762 MB / 1.139 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5191, allocations: 44.28 kB / 1.441 GB, free: 7.719 MB / 1.139 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.5194, allocations: 12.88 kB / 1.441 GB, free: 7.707 MB / 1.139 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.5198, allocations: 156.1 kB / 1.441 GB, free: 7.527 MB / 1.139 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.5201, allocations: 0.6808 MB / 1.442 GB, free: 6.82 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 3.367e-05/0.5201, allocations: 11.92 kB / 1.442 GB, free: 6.809 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.5201, allocations: 11.44 kB / 1.442 GB, free: 6.797 MB / 1.139 GB
Notification: Performance of SimCode: time 3.7e-07/0.5201, allocations: 0 / 1.442 GB, free: 6.797 MB / 1.139 GB
Notification: Performance of Templates: time 0.003894/0.524, allocations: 1.027 MB / 1.443 GB, free: 5.781 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.033550552092493]