Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001387/0.001387, 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.001625/0.001625, allocations: 213.8 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.545/1.545, 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.414/3.414, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [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.002058/0.002058, allocations: 76.83 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3787, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002566/0.3813, allocations: 1.305 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3823, allocations: 0.5301 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.3823, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.3824, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.3824, allocations: 15.91 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.3829, allocations: 91.58 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.3829, allocations: 23.8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.383, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.383, allocations: 12 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.3831, allocations: 7.984 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.3831, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.3834, allocations: 139.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.3834, allocations: 7.922 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.3834, allocations: 8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3836, allocations: 91.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3836, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3836, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3836, allocations: 0 / 1.329 GB, free: 14.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004075/0.384, allocations: 274.1 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3841, allocations: 8.031 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.3845, allocations: 36.89 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3847, allocations: 110.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3847, allocations: 4.375 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3847, allocations: 384 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3849, allocations: 54.16 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3849, allocations: 192 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3849, allocations: 7.938 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3849, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.385, allocations: 19.98 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.3852, allocations: 105.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3853, allocations: 42.58 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.3854, allocations: 16.92 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3854, allocations: 7.984 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3855, allocations: 34.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3855, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003211/0.3858, allocations: 77.55 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3858, allocations: 51.41 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.3859, allocations: 97.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3859, allocations: 29.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.386, allocations: 84.08 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.386, allocations: 7.891 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.386, allocations: 21.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3862, allocations: 314.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.3863, allocations: 15.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.3863, allocations: 11.98 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3865, allocations: 36.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3865, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.3866, allocations: 57.67 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3867, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3867, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3867, allocations: 3.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3868, allocations: 12.02 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3868, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.3869, allocations: 3.984 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3869, allocations: 0 / 1.331 GB, free: 13.05 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 (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 8.589e-05/0.387, allocations: 110.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.387, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.387, allocations: 11.25 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.387, allocations: 7.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.387, allocations: 4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.387, allocations: 3.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3871, allocations: 105.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3871, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.3872, allocations: 7.984 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3872, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3872, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3872, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3872, allocations: 3.938 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3875, allocations: 89.09 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.3875, allocations: 4.141 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3875, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3876, allocations: 11.97 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.3876, allocations: 3.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3876, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.3877, allocations: 91.16 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3877, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002136/0.3879, allocations: 19.92 kB / 1.331 GB, free: 12.52 MB / 1.029 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.0001775/0.388, allocations: 107.3 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3883, allocations: 23.97 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3883, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.416e-05/0.3883, allocations: 15.98 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3886, allocations: 21.66 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.389, allocations: 130.6 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.3891, allocations: 55.36 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.853e-05/0.3891, allocations: 11.94 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.3892, allocations: 11.42 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3892, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of Templates: time 0.003547/0.3927, allocations: 0.8088 MB / 1.332 GB, free: 11.29 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.430756641013431]