Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001714/0.001714, 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.002354/0.002354, allocations: 191 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.426/1.426, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.255/3.255, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 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-master/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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure")
translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.98 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00368/0.3884, allocations: 1.425 MB / 1.317 GB, free: 8.238 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001322/0.3898, allocations: 0.6037 MB / 1.318 GB, free: 7.633 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.3898, allocations: 0 / 1.318 GB, free: 7.633 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.3898, allocations: 3.938 kB / 1.318 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3899, allocations: 0 / 1.318 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.3904, allocations: 99.5 kB / 1.318 GB, free: 7.531 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.3905, allocations: 27.86 kB / 1.318 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3906, allocations: 11.98 kB / 1.318 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.3907, allocations: 11.98 kB / 1.318 GB, free: 7.48 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.3907, allocations: 7.938 kB / 1.318 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3907, allocations: 4 kB / 1.318 GB, free: 7.469 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.3911, allocations: 147.8 kB / 1.318 GB, free: 7.324 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3911, allocations: 4 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3911, allocations: 15.92 kB / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.3914, allocations: 99.64 kB / 1.318 GB, free: 7.207 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3914, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.814e-06/0.3914, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.094e-05/0.3914, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 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.0005627/0.392, allocations: 290.1 kB / 1.319 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.392, allocations: 8.031 kB / 1.319 GB, free: 6.883 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.3925, allocations: 28.89 kB / 1.319 GB, free: 6.855 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3926, allocations: 110.5 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3926, allocations: 4.359 kB / 1.319 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3926, allocations: 4.375 kB / 1.319 GB, free: 6.715 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3929, allocations: 62.2 kB / 1.319 GB, free: 6.648 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3929, allocations: 8.062 kB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3929, allocations: 7.938 kB / 1.319 GB, free: 6.633 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3929, allocations: 4 kB / 1.319 GB, free: 6.629 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.3932, allocations: 55.94 kB / 1.319 GB, free: 6.574 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.3937, allocations: 243.8 kB / 1.319 GB, free: 6.293 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.394, allocations: 62.47 kB / 1.319 GB, free: 6.223 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3941, allocations: 32.89 kB / 1.319 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3941, allocations: 0 / 1.319 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3942, allocations: 42.5 kB / 1.319 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3942, allocations: 0 / 1.319 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0005294/0.3947, allocations: 109.6 kB / 1.319 GB, free: 6.023 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3947, allocations: 51.41 kB / 1.319 GB, free: 5.961 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.3948, allocations: 101.8 kB / 1.32 GB, free: 5.852 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3949, allocations: 29.64 kB / 1.32 GB, free: 5.816 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.3949, allocations: 84.14 kB / 1.32 GB, free: 5.73 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3949, allocations: 7.938 kB / 1.32 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.395, allocations: 25.83 kB / 1.32 GB, free: 5.691 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001588/0.3951, allocations: 310.8 kB / 1.32 GB, free: 5.379 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3953, allocations: 23.97 kB / 1.32 GB, free: 5.355 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3954, allocations: 31.91 kB / 1.32 GB, free: 5.324 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.3956, allocations: 60.86 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3956, allocations: 0 / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002863/0.3959, allocations: 89.58 kB / 1.32 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3959, allocations: 8.031 kB / 1.32 GB, free: 5.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3959, allocations: 0 / 1.32 GB, free: 5.16 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.396, allocations: 4 kB / 1.32 GB, free: 5.156 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3961, allocations: 15.97 kB / 1.32 GB, free: 5.141 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3961, allocations: 0 / 1.32 GB, free: 5.141 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.3962, allocations: 4 kB / 1.32 GB, free: 5.137 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3962, allocations: 3.984 kB / 1.32 GB, free: 5.133 MB / 1.014 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 (2):
 * Single equations (assignments): 2
 * 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 0.0001074/0.3963, allocations: 122.2 kB / 1.32 GB, free: 5.004 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3963, allocations: 3.953 kB / 1.32 GB, free: 5 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.3964, allocations: 7.312 kB / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3964, allocations: 0 / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3964, allocations: 4 kB / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3964, allocations: 0 / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3966, allocations: 132.7 kB / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3966, allocations: 0 / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3967, allocations: 19.97 kB / 1.321 GB, free: 4.793 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3967, allocations: 3.938 kB / 1.321 GB, free: 4.789 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3967, allocations: 8 kB / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3967, allocations: 0 / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3967, allocations: 0 / 1.321 GB, free: 4.781 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3971, allocations: 183.4 kB / 1.321 GB, free: 4.586 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.3971, allocations: 4 kB / 1.321 GB, free: 4.582 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3971, allocations: 4 kB / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3972, allocations: 8.172 kB / 1.321 GB, free: 4.57 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3973, allocations: 3.938 kB / 1.321 GB, free: 4.566 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3973, allocations: 15.91 kB / 1.321 GB, free: 4.551 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.17e-05/0.3973, allocations: 75.28 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3973, allocations: 4 kB / 1.321 GB, free: 4.473 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002386/0.3976, allocations: 15.97 kB / 1.321 GB, free: 4.457 MB / 1.014 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 (2):
 * Single equations (assignments): 2
 * 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.0002031/0.3978, allocations: 115.2 kB / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003175/0.3981, allocations: 51.94 kB / 1.321 GB, free: 4.281 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3981, allocations: 0 / 1.321 GB, free: 4.281 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3982, allocations: 32.03 kB / 1.321 GB, free: 4.25 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3985, allocations: 11.94 kB / 1.321 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.399, allocations: 134.8 kB / 1.321 GB, free: 4.082 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3994, allocations: 0.6768 MB / 1.322 GB, free: 3.379 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.277e-05/0.3994, allocations: 15.94 kB / 1.322 GB, free: 3.363 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3995, allocations: 11.44 kB / 1.322 GB, free: 3.352 MB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.3995, allocations: 0 / 1.322 GB, free: 3.352 MB / 1.014 GB
Notification: Performance of Templates: time 0.003704/0.4032, allocations: 0.7954 MB / 1.323 GB, free: 2.559 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.089504834264517]