Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001072/0.001072, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002598, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.00102/0.00102, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002363, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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 0.9767/0.9767, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09805/1.075, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2453/2.67, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.218e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002015/0.002028, allocations: 1.387 MB / 0.8203 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.002773, allocations: 0.5918 MB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.002788, allocations: 0 / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.204e-06/0.002795, allocations: 4 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.002823, allocations: 11.92 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.003057, allocations: 87.5 kB / 0.821 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.003116, allocations: 19.81 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.003153, allocations: 7.984 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.003213, allocations: 8 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.00326, allocations: 11.92 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.003272, allocations: 0 / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.003551, allocations: 147.7 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.003563, allocations: 0 / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.003579, allocations: 7.938 kB / 0.8212 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.003764, allocations: 91.73 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.003776, allocations: 3.938 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003777, allocations: 0 / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.00379, allocations: 0 / 0.8212 GB, free: 100 kB / 0.7917 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.000367/0.004157, allocations: 256.5 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.004192, allocations: 8.031 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.004546, allocations: 121.9 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.004638, allocations: 109.8 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.004647, allocations: 384 / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.004661, allocations: 384 / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.004775, allocations: 58.92 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.004782, allocations: 192 / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.004792, allocations: 4.375 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.004799, allocations: 384 / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.004831, allocations: 15.88 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.872e-05/0.00493, allocations: 69.03 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.004987, allocations: 22.61 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.005012, allocations: 12.91 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.005031, allocations: 4 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.005054, allocations: 30.56 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005054, allocations: 0 / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.005186, allocations: 53.62 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.005216, allocations: 51.41 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.005278, allocations: 106.7 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.005292, allocations: 25.7 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.005316, allocations: 84.14 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.005342, allocations: 7.953 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.005374, allocations: 9.719 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.005463, allocations: 322.8 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.005477, allocations: 0 / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.005489, allocations: 4.125 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.00553, allocations: 24.91 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005531, allocations: 3.938 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.611e-05/0.005597, allocations: 37.69 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.00561, allocations: 8 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005615, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.005629, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.00571, allocations: 7.984 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.005713, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.005742, allocations: 8.031 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.005749, allocations: 3.984 kB / 0.8227 GB, free: 14.48 MB / 0.8073 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 6.208e-05/0.005811, allocations: 121.7 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.005822, allocations: 7.938 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.005848, allocations: 3.312 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.005853, allocations: 4 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005855, allocations: 0 / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005857, allocations: 0 / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.00593, allocations: 77.83 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005931, allocations: 0 / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.005976, allocations: 11.92 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.006001, allocations: 3.984 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006002, allocations: 4 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.006007, allocations: 0 / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006008, allocations: 0 / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006009, allocations: 192 / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.342e-05/0.006093, allocations: 69.06 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.006107, allocations: 12.02 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.006134, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.006146, allocations: 3.984 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.00615, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.929e-06/0.00616, allocations: 8.859 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00616, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000169/0.006329, allocations: 12 kB / 0.823 GB, free: 14.1 MB / 0.8073 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.0001346/0.006464, allocations: 96.33 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.006539, allocations: 28.78 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.006543, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.006571, allocations: 20.84 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.006701, allocations: 75.27 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.007922, allocations: 112.9 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.007955, allocations: 67.2 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.008012, allocations: 8 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.008078, allocations: 55.36 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.008078, allocations: 0 / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.002751/0.01083, allocations: 0.8858 MB / 0.8243 GB, free: 12.7 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104398963972926]