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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 212.4 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.39 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002851/0.3673, allocations: 1.307 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3686, allocations: 0.5999 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.3686, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.3687, allocations: 7.984 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.3687, allocations: 3.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.3692, allocations: 111.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.3693, allocations: 27.86 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.3694, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.3694, allocations: 8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.3694, allocations: 19.91 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3695, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.3697, allocations: 147.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.3698, allocations: 11.97 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.3698, allocations: 8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.37, allocations: 95.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.37, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.37, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.37, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 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.0005749/0.3706, allocations: 282.1 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3707, allocations: 12.03 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.3712, allocations: 32.89 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3713, allocations: 110.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3713, allocations: 4.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3714, allocations: 384 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3716, allocations: 83.86 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3716, allocations: 192 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3716, allocations: 7.938 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3716, allocations: 7.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3718, allocations: 23.97 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.372, allocations: 117.2 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.3724, allocations: 62.58 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3725, allocations: 36.88 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3725, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3725, allocations: 30.56 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 3.095e-06/0.3726, allocations: 3.984 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.004173/0.3767, allocations: 0.5007 MB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3768, allocations: 51.41 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3769, allocations: 101.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3769, allocations: 25.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.377, allocations: 88.08 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.377, allocations: 23.78 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.3771, allocations: 25.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3773, allocations: 310.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3774, allocations: 39.95 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3776, allocations: 48.08 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.3779, allocations: 76.92 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3779, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003979/0.3783, allocations: 129.6 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3783, allocations: 4 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3783, allocations: 7.938 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3783, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3786, allocations: 19.97 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3786, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3788, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3788, allocations: 7.984 kB / 1.332 GB, free: 12.21 MB / 1.029 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.0002036/0.379, allocations: 118.3 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.379, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.3791, allocations: 16 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3791, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3791, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3791, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3793, allocations: 135.3 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3793, allocations: 4.062 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3795, allocations: 19.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3795, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3795, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3795, allocations: 3.938 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3795, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.3801, allocations: 200.9 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.3802, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3802, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3804, allocations: 15.95 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3805, allocations: 8.062 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3805, allocations: 3.984 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.3805, allocations: 79.28 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002615/0.3808, allocations: 31.94 kB / 1.332 GB, free: 11.51 MB / 1.029 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.0002446/0.381, allocations: 131 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.3814, allocations: 91.95 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3814, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3816, allocations: 35.97 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3818, allocations: 15.39 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.3825, allocations: 166 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.3826, allocations: 63.34 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.3828, allocations: 24 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.3828, allocations: 19.41 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3828, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Templates: time 0.004934/0.3878, allocations: 1.616 MB / 1.334 GB, free: 9.359 MB / 1.029 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 -s gbode -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/jenkins1/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: 9.185207992995856]