Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.001121/0.001121, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001744/0.002865, allocations: 435.8 kB / 10.33 MB, free: 368 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.001213/0.001213, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002699, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9507/0.9507, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09467/1.045, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.501/2.501, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2572/2.758, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.861e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001843/0.001862, allocations: 1.538 MB / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006513/0.002513, allocations: 0.5958 MB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.002538, allocations: 0 / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.002559, allocations: 4 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.002587, allocations: 11.92 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.002807, allocations: 95.44 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.002874, allocations: 27.92 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.193e-05/0.002946, allocations: 0 / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.003014, allocations: 23.91 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.003054, allocations: 7.984 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003066, allocations: 0 / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.00327, allocations: 151.7 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.003281, allocations: 4 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.003296, allocations: 8 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.003457, allocations: 99.61 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.003472, allocations: 0 / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003473, allocations: 0 / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.003486, allocations: 0 / 0.8208 GB, free: 340 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003473/0.003834, allocations: 268.4 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.003865, allocations: 8.625 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.004167, allocations: 110 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.004247, allocations: 113.7 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.004255, allocations: 384 / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.004263, allocations: 4.375 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.004386, allocations: 70.86 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004392, allocations: 192 / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004401, allocations: 4.359 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.004404, allocations: 384 / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.004433, allocations: 15.94 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.004678, allocations: 156.3 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.004739, allocations: 30.52 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.004763, allocations: 16.91 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.004779, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.004799, allocations: 30.56 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.0048, allocations: 0 / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.004915, allocations: 49.69 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.004943, allocations: 59.28 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.004995, allocations: 110.7 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.005006, allocations: 25.7 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.005031, allocations: 84.14 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.005049, allocations: 3.953 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.005076, allocations: 21.64 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.005151, allocations: 314.8 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.005167, allocations: 4.125 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.005181, allocations: 11.98 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.005211, allocations: 12.86 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005213, allocations: 4 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.18e-05/0.005265, allocations: 41.88 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.00528, allocations: 7.984 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005284, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.005293, allocations: 3.984 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.00537, allocations: 23.95 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005372, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.0054, allocations: 11.95 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.005406, allocations: 3.984 kB / 0.8223 GB, free: 14.56 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 5.321e-05/0.005459, allocations: 105.8 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.005473, allocations: 4 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.005498, allocations: 3.312 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.0055, allocations: 4 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005503, allocations: 3.938 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005506, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.509e-05/0.005591, allocations: 69.89 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005593, allocations: 0 / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.005632, allocations: 15.97 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.005638, allocations: 3.984 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005639, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.005646, allocations: 4 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005647, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.005656, allocations: 7.938 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.979e-05/0.005756, allocations: 143.5 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005766, allocations: 3.984 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.005807, allocations: 4 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.005832, allocations: 3.938 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.005836, allocations: 3.984 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.197e-05/0.005848, allocations: 12.8 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005848, allocations: 0 / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001365/0.005985, allocations: 15.94 kB / 0.8227 GB, free: 14.12 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.0001345/0.006119, allocations: 96.38 kB / 0.8228 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.006191, allocations: 24.84 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.006195, allocations: 0 / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.006216, allocations: 16.8 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.006357, allocations: 7.984 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.007, allocations: 132.8 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.007031, allocations: 55.22 kB / 0.823 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.262e-05/0.007074, allocations: 11.98 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.007132, allocations: 55.38 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of SimCode: time 1.112e-06/0.007133, allocations: 0 / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.002711/0.009844, allocations: 1.003 MB / 0.8241 GB, free: 12.67 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269905156455934]