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.001364/0.001364, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001449/0.001449, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.034/1.034, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.553/2.553, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.473e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001922/0.001947, allocations: 1.394 MB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.002656, allocations: 0.58 MB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.002675, allocations: 4 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.002692, allocations: 0 / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.002744, allocations: 7.938 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.003043, allocations: 99.42 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.003094, allocations: 15.88 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.003129, allocations: 4 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.003179, allocations: 7.984 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.003216, allocations: 4 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.003226, allocations: 4 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.003438, allocations: 147.7 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.003448, allocations: 4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.288e-05/0.003461, allocations: 4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.003615, allocations: 107.7 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003617, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003618, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003622, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 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.0002441/0.003866, allocations: 248.4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.003899, allocations: 12.03 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.00415, allocations: 36.83 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.004226, allocations: 113.7 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.004235, allocations: 4.359 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.004242, allocations: 384 / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.00434, allocations: 54.94 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004346, allocations: 192 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.004353, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.004357, allocations: 4.375 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.004385, allocations: 15.92 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.935e-05/0.004474, allocations: 61.05 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.004522, allocations: 34.53 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.004541, allocations: 8.922 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.004552, allocations: 0 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.004572, allocations: 34.56 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.004572, allocations: 3.938 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.004679, allocations: 49.62 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.004705, allocations: 55.41 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.027e-05/0.004756, allocations: 106.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.004767, allocations: 29.7 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.004789, allocations: 80.14 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.00481, allocations: 3.953 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.004839, allocations: 17.7 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.004914, allocations: 314.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.004927, allocations: 4 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.004937, allocations: 8.125 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.00498, allocations: 16.84 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004981, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.604e-05/0.005037, allocations: 45.62 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005049, allocations: 6.188 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005054, allocations: 4 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.005063, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.00513, allocations: 12.08 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.005132, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.005154, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.005161, allocations: 7.984 kB / 0.8423 GB, free: 10.28 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.218e-05/0.005213, allocations: 121.8 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.00522, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.005246, allocations: 3.312 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005248, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.005249, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005252, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.483e-05/0.005307, allocations: 69.83 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.005307, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.005336, allocations: 7.984 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005337, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005344, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005344, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005346, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.691e-05/0.005413, allocations: 73 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.005436, allocations: 15.95 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.005444, allocations: 3.938 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.005463, allocations: 0 / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.005473, allocations: 4 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.005479, allocations: 3.984 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.022e-05/0.005489, allocations: 9.031 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005489, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001196/0.005609, allocations: 12 kB / 0.8426 GB, free: 9.902 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.000143/0.005752, allocations: 96.34 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.391e-05/0.005815, allocations: 24.77 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.005819, allocations: 8 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.005833, allocations: 8.859 kB / 0.8427 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.244e-05/0.005925, allocations: 15.91 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.006323, allocations: 116.9 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.645e-05/0.006349, allocations: 51.36 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.006391, allocations: 11.94 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.006447, allocations: 63.36 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/0.006448, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of Templates: time 0.002358/0.008806, allocations: 0.8923 MB / 0.8438 GB, free: 8.574 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.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.396148698870093]