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.001386/0.001386, allocations: 110 kB / 18.94 MB, free: 2.953 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.001463/0.001463, allocations: 186.9 kB / 22.23 MB, free: 5.137 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.412/1.412, 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.27/3.27, allocations: 496 MB / 0.7835 GB, free: 33.7 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.002054/0.002054, allocations: 66.11 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3376, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002447/0.3401, allocations: 1.301 MB / 1.309 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3413, allocations: 0.6504 MB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.3413, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.3413, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.3413, allocations: 11.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.3418, allocations: 111.5 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.3419, allocations: 31.84 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.342, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.342, allocations: 11.94 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.3421, allocations: 11.98 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3421, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.3424, allocations: 151.7 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3424, allocations: 3.984 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3424, allocations: 19.88 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3427, allocations: 95.69 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3427, allocations: 4 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3427, allocations: 0 / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3427, allocations: 4 kB / 1.31 GB, free: 15.4 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.0005024/0.3432, allocations: 274.1 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3432, allocations: 12.92 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.3437, allocations: 28.91 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3438, allocations: 110.5 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3438, allocations: 384 / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.3438, allocations: 4.375 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.344, allocations: 62.16 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.344, allocations: 192 / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.344, allocations: 3.938 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.344, allocations: 4 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3442, allocations: 27.97 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.3444, allocations: 128.8 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3447, allocations: 74.5 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.3448, allocations: 24.94 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3448, allocations: 3.938 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3449, allocations: 42.55 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3449, allocations: 0 / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.003586/0.3484, allocations: 0.4967 MB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3485, allocations: 55.41 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.3486, allocations: 89.86 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3486, allocations: 33.7 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.3486, allocations: 80.27 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3487, allocations: 23.84 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.3487, allocations: 25.7 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3489, allocations: 314.8 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.349, allocations: 39.91 kB / 1.312 GB, free: 13.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3492, allocations: 35.97 kB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.3495, allocations: 88.75 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3495, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003924/0.3499, allocations: 125.6 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3499, allocations: 9.656 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3499, allocations: 4.062 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3499, allocations: 4 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3501, allocations: 19.97 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3502, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3503, allocations: 7.984 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3503, allocations: 4 kB / 1.312 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.0001042/0.3504, allocations: 121.8 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3505, allocations: 7.922 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.3505, allocations: 8.062 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3505, allocations: 4 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3505, allocations: 4 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3505, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3507, allocations: 158.5 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3507, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.351, allocations: 23.97 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.351, allocations: 11.88 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.351, allocations: 3.984 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.351, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.351, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.3516, allocations: 189 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.3516, allocations: 11.92 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3516, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3518, allocations: 16.05 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.3518, allocations: 3.984 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3519, allocations: 4 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.3519, allocations: 79.28 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3519, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002529/0.3521, allocations: 35.86 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.0002273/0.3524, allocations: 128 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.3528, allocations: 83.92 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3528, allocations: 0 / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3529, allocations: 55.89 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3532, allocations: 16.33 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.3539, allocations: 164.7 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3542, allocations: 0.6807 MB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.3544, allocations: 27.98 kB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.3544, allocations: 15.75 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3544, allocations: 4 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of Templates: time 0.00473/0.3592, allocations: 1.556 MB / 1.315 GB, free: 9.492 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.96762137208134]