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.001097/0.001097, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008075/0.009172, 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004788/0.005885, 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 1.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.128, allocations: 53.66 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.453/2.453, allocations: 446.7 MB / 0.6745 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2493/2.702, allocations: 145.9 MB / 0.817 GB, free: 4.246 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.413e-06/1.413e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.167e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001996/0.002008, allocations: 1.383 MB / 0.8197 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006041/0.002612, allocations: 0.5725 MB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.002628, allocations: 0 / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.965e-06/0.002636, allocations: 0 / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.002663, allocations: 15.86 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.002868, allocations: 91.5 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.002927, allocations: 15.88 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.002965, allocations: 7.938 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.003026, allocations: 15.97 kB / 0.8204 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.003075, allocations: 8 kB / 0.8204 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003089, allocations: 3.938 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.003309, allocations: 147.7 kB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.003317, allocations: 0 / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.003331, allocations: 4 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003479, allocations: 95.62 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.003493, allocations: 0 / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.003493, allocations: 0 / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.003507, allocations: 0 / 0.8206 GB, free: 0.5586 MB / 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.0003589/0.003866, allocations: 264.5 kB / 0.8209 GB, free: 280 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.003898, allocations: 8.031 kB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.004176, allocations: 106 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.004253, allocations: 117.7 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.004262, allocations: 4.359 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.00427, allocations: 384 / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.004372, allocations: 58.98 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004378, allocations: 4.188 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.004385, allocations: 384 / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.00439, allocations: 4.375 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.00442, allocations: 11.92 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.408e-05/0.004504, allocations: 57.05 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.004555, allocations: 38.59 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.004574, allocations: 8.922 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.004594, allocations: 7.938 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.004615, allocations: 34.56 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004616, allocations: 0 / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000111/0.004727, allocations: 49.67 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.004758, allocations: 51.41 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.004806, allocations: 102.5 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.004818, allocations: 25.7 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.004838, allocations: 80.14 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.004867, allocations: 11.94 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.004893, allocations: 17.7 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.004977, allocations: 322.9 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.00499, allocations: 4 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.005001, allocations: 11.92 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.005032, allocations: 16.86 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005034, allocations: 0 / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.667e-05/0.005081, allocations: 37.69 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.005095, allocations: 11.98 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005099, allocations: 4.094 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.005107, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.005184, allocations: 7.984 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.005186, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.005207, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005211, allocations: 0 / 0.822 GB, free: 14.93 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.164e-05/0.005263, allocations: 117.7 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.00527, allocations: 7.984 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.005296, allocations: 11.31 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.005297, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.005298, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005301, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.642e-05/0.005358, allocations: 73.83 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005358, allocations: 0 / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.005386, allocations: 11.97 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.005406, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005407, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.005412, allocations: 4 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005412, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.005415, allocations: 7.984 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.326e-05/0.005478, allocations: 69.06 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.005487, allocations: 3.938 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.005503, allocations: 4 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.005513, allocations: 3.938 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.005515, allocations: 0 / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.005526, allocations: 17.02 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005526, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000106/0.005632, allocations: 12 kB / 0.8224 GB, free: 14.54 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.0001019/0.005734, allocations: 96.38 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.576e-05/0.00579, allocations: 12.86 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.005795, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.005808, allocations: 12.84 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.783e-05/0.005906, allocations: 27.86 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.00681, allocations: 128.7 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.006843, allocations: 55.22 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.006881, allocations: 8 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.006936, allocations: 59.36 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.006936, allocations: 0 / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.00259/0.009526, allocations: 0.9197 MB / 0.8236 GB, free: 13.18 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.24088934995234]