Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001705/0.001705, 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.002054/0.002054, allocations: 192.9 kB / 22.11 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.491/1.491, 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.188/3.188, allocations: 495.8 MB / 0.783 GB, free: 33.38 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck")
translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.97 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002462/0.3194, allocations: 1.301 MB / 1.308 GB, free: 0.4961 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001128/0.3206, allocations: 0.6465 MB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.3206, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.3206, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.3207, allocations: 11.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.3211, allocations: 107.5 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.3212, allocations: 27.91 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3212, allocations: 4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.3212, allocations: 11.88 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.3213, allocations: 15.98 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3213, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.3216, allocations: 135.7 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3216, allocations: 11.98 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.3216, allocations: 15.94 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3218, allocations: 95.69 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3218, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.3218, allocations: 0 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.129e-06/0.3219, allocations: 0 / 1.309 GB, free: 15.42 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0005098/0.3224, allocations: 278.1 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3224, allocations: 8.031 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.3228, allocations: 32.91 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.323, allocations: 114.5 kB / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.323, allocations: 384 / 1.309 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.323, allocations: 8.297 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3232, allocations: 54.22 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3232, allocations: 192 / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3232, allocations: 11.94 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3232, allocations: 4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3234, allocations: 23.97 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.3236, allocations: 128.8 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3239, allocations: 74.52 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.324, allocations: 28.88 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.324, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.324, allocations: 34.55 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.324, allocations: 0 / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0036/0.3276, allocations: 0.5049 MB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3277, allocations: 51.41 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.3278, allocations: 93.86 kB / 1.31 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3278, allocations: 29.64 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.3278, allocations: 88.27 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3279, allocations: 19.84 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.3279, allocations: 21.7 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001326/0.3281, allocations: 322.8 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3282, allocations: 31.97 kB / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3284, allocations: 43.91 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3287, allocations: 84.95 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3287, allocations: 0 / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003997/0.3291, allocations: 125.6 kB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3291, allocations: 7.938 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3291, allocations: 3.984 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3291, allocations: 0 / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.3294, allocations: 23.97 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3294, allocations: 3.938 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.3295, allocations: 11.98 kB / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3296, allocations: 8 kB / 1.311 GB, free: 12.96 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 (7):
 * Single equations (assignments): 7
 * 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.0001023/0.3297, allocations: 105.8 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3297, allocations: 7.938 kB / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.3298, allocations: 12.05 kB / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3298, allocations: 4 kB / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3298, allocations: 0 / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3298, allocations: 0 / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3299, allocations: 162.5 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3299, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3302, allocations: 23.97 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3302, allocations: 3.938 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3302, allocations: 4 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.3302, allocations: 11.98 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3302, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.3308, allocations: 189 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.3309, allocations: 11.89 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3309, allocations: 8.094 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3311, allocations: 7.984 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.3311, allocations: 4 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3311, allocations: 3.984 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.955e-05/0.3312, allocations: 79.28 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3312, allocations: 0 / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002602/0.3314, allocations: 43.8 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (y_comp)
 * 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 (6):
 * Single equations (assignments): 6
 * 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.0002406/0.3317, allocations: 128 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003881/0.332, allocations: 87.86 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.332, allocations: 0 / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3322, allocations: 43.97 kB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3325, allocations: 13 kB / 1.312 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.3331, allocations: 159.9 kB / 1.312 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3334, allocations: 0.6846 MB / 1.313 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001708/0.3336, allocations: 23.98 kB / 1.313 GB, free: 11.03 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.3337, allocations: 19.42 kB / 1.313 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3337, allocations: 0 / 1.313 GB, free: 11.01 MB / 1.014 GB
Notification: Performance of Templates: time 0.004535/0.3382, allocations: 1.567 MB / 1.315 GB, free: 9.496 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.821524919942021]