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.0008569/0.0008569, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001902, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006973/0.0006973, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001582, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9233/0.9233, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08483/1.008, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.98/1.98, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4972/2.477, allocations: 123.3 MB / 0.728 GB, free: 5.793 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.546e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002927/0.002952, allocations: 1.38 MB / 0.7307 GB, free: 3.137 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.00411, allocations: 0.5733 MB / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.004164, allocations: 4 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.004185, allocations: 10.08 kB / 0.7313 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.004248, allocations: 7.375 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.004929, allocations: 86.8 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.005061, allocations: 30.33 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.00513, allocations: 7.984 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.005237, allocations: 11.98 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.005312, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.005335, allocations: 4 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.005781, allocations: 143.7 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.005799, allocations: 0.5 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.00583, allocations: 8.688 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.006116, allocations: 95.73 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.773e-05/0.006144, allocations: 1.719 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.006146, allocations: 0 / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.006173, allocations: 0 / 0.7316 GB, free: 2.195 MB / 0.698 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.0005613/0.006734, allocations: 256.4 kB / 0.7319 GB, free: 1.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006777, allocations: 8.844 kB / 0.7319 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.007204, allocations: 115 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.00732, allocations: 113.7 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.007336, allocations: 1.562 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.007353, allocations: 8.375 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.007527, allocations: 55.8 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007537, allocations: 4.188 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.007551, allocations: 1 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.00756, allocations: 1.062 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.007612, allocations: 25.61 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.007735, allocations: 60.98 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.007804, allocations: 26.59 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.00783, allocations: 13.52 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.007853, allocations: 0 / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.007884, allocations: 35.56 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.007885, allocations: 0 / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.00804, allocations: 51.28 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.00808, allocations: 51.41 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.008159, allocations: 102.7 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.008174, allocations: 26.42 kB / 0.7325 GB, free: 1.117 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.008206, allocations: 84.12 kB / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.008245, allocations: 8.484 kB / 0.7326 GB, free: 1.023 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.008291, allocations: 14.64 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.008403, allocations: 318.8 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.008426, allocations: 4 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.008441, allocations: 4.875 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.0085, allocations: 22.28 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.008503, allocations: 0 / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.74e-05/0.008591, allocations: 46.28 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.008609, allocations: 5.625 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008616, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.008626, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.008735, allocations: 7.984 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.008738, allocations: 0.5938 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.00877, allocations: 9.109 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.008778, allocations: 3.984 kB / 0.7331 GB, free: 0.5781 MB / 0.698 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 7.545e-05/0.008854, allocations: 109.8 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.008864, allocations: 4.906 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.008906, allocations: 4.562 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008908, allocations: 0 / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008909, allocations: 0 / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.008917, allocations: 9.016 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.803e-05/0.009006, allocations: 77.77 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.009009, allocations: 4 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.009073, allocations: 8.547 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.466e-05/0.009108, allocations: 13.67 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.00911, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.009116, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009119, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.00912, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.00923, allocations: 74.22 kB / 0.7333 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.009244, allocations: 0 / 0.7333 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.00928, allocations: 4.734 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.009292, allocations: 0.5938 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.009299, allocations: 4.188 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.009315, allocations: 9.594 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009315, allocations: 0 / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002014/0.009517, allocations: 17.06 kB / 0.7334 GB, free: 204 kB / 0.698 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.0001757/0.009692, allocations: 93.47 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.00978, allocations: 27.12 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.009787, allocations: 3.984 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.009808, allocations: 16.84 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.00994, allocations: 11.92 kB / 0.7335 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.01154, allocations: 127.1 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.01158, allocations: 59.3 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.868e-05/0.01164, allocations: 5 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.0117, allocations: 59.36 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/0.0117, allocations: 2.75 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002333/0.01403, allocations: 0.9093 MB / 0.7347 GB, free: 14.88 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure/Buildings_12_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: 4.84974249638617]