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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 192.8 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002085/0.002085, allocations: 63.91 kB / 1.137 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 173.6 MB / 1.307 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002808/1.054, allocations: 1.302 MB / 1.308 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001158/1.055, allocations: 0.5859 MB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/1.055, allocations: 1.25 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/1.055, allocations: 0.6562 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/1.055, allocations: 10.62 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/1.056, allocations: 88.56 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.399e-05/1.056, allocations: 22.8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/1.056, allocations: 2.406 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/1.056, allocations: 13.16 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/1.056, allocations: 3.969 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/1.056, allocations: 1.125 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/1.056, allocations: 137.9 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/1.056, allocations: 0.6562 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/1.056, allocations: 9.328 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/1.057, allocations: 90.02 kB / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.057, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.452e-06/1.057, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.057, allocations: 5.734 kB / 1.309 GB, free: 15.49 MB / 1.014 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.0004558/1.057, allocations: 274.8 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.057, allocations: 9.906 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/1.058, allocations: 26.33 kB / 1.309 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/1.058, allocations: 109.9 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/1.058, allocations: 1.531 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/1.058, allocations: 1.531 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/1.058, allocations: 55.92 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.058, allocations: 0.8438 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.058, allocations: 3.938 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/1.058, allocations: 1.125 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/1.058, allocations: 21.91 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/1.058, allocations: 133.3 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/1.059, allocations: 42.34 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/1.059, allocations: 19.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.059, allocations: 1.641 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.059, allocations: 35.11 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.059, allocations: 1.312 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/1.059, allocations: 75.69 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.059, allocations: 51.41 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/1.059, allocations: 99.53 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/1.059, allocations: 31.7 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/1.059, allocations: 80.14 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/1.059, allocations: 9.969 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/1.059, allocations: 18.7 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.059, allocations: 313.1 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/1.059, allocations: 8.547 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/1.06, allocations: 13.88 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/1.06, allocations: 36.17 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.06, allocations: 3.938 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/1.06, allocations: 59.95 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.06, allocations: 5.812 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.06, allocations: 3.984 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.06, allocations: 6.031 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.06, allocations: 6.953 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.06, allocations: 4.781 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/1.06, allocations: 3.016 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/1.06, allocations: 2.703 kB / 1.31 GB, free: 14.03 MB / 1.014 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 9.662e-05/1.06, allocations: 111 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/1.06, allocations: 6.719 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/1.06, allocations: 11.95 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.06, allocations: 8.938 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.06, allocations: 0.8438 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.06, allocations: 1.25 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/1.06, allocations: 125.1 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.06, allocations: 0.75 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/1.06, allocations: 8.047 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.06, allocations: 0.7031 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.061, allocations: 6.031 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.061, allocations: 4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.061, allocations: 2.125 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/1.061, allocations: 84.33 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/1.061, allocations: 9.469 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/1.061, allocations: 3.938 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/1.061, allocations: 3.297 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/1.061, allocations: 2.172 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/1.061, allocations: 5.625 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.265e-05/1.061, allocations: 78.83 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.061, allocations: 3.938 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002262/1.061, allocations: 19.48 kB / 1.311 GB, free: 13.55 MB / 1.014 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.0002028/1.061, allocations: 109.6 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002197/1.062, allocations: 31.36 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.062, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/1.062, allocations: 21.14 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/1.062, allocations: 8.281 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/1.062, allocations: 118.8 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/1.063, allocations: 0.677 MB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.673e-05/1.063, allocations: 8.422 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/1.063, allocations: 10.64 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.063, allocations: 1.312 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of Templates: time 0.004068/1.067, allocations: 0.7567 MB / 1.313 GB, free: 12.52 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.293259019963443]