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.002041/0.002041, allocations: 108.1 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002198/0.002198, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.48/1.48, allocations: 230.5 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4899 GB / 0.7915 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.22 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002348/0.3259, allocations: 1.312 MB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.3269, allocations: 0.569 MB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.3269, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.3269, allocations: 3.938 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3269, allocations: 7.938 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.3273, allocations: 95.56 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.3274, allocations: 19.86 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.3274, allocations: 7.984 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.3275, allocations: 11.94 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.3275, allocations: 7.938 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3275, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3278, allocations: 147.8 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.3278, allocations: 0 / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3278, allocations: 4 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.328, allocations: 95.7 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.328, allocations: 0 / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.328, allocations: 3.938 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.328, allocations: 0 / 1.323 GB, free: 0.5586 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.0004212/0.3285, allocations: 356.8 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3285, allocations: 11.98 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.329, allocations: 36.88 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3291, allocations: 160.4 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3291, allocations: 384 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3291, allocations: 384 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3293, allocations: 54.22 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3293, allocations: 192 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3293, allocations: 7.938 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3293, allocations: 3.938 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3295, allocations: 19.98 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.3296, allocations: 157.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.3298, allocations: 42.5 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.3299, allocations: 24.84 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3299, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3299, allocations: 30.56 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3299, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.3303, allocations: 81.48 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3303, allocations: 51.41 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.3304, allocations: 101.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3304, allocations: 25.7 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.3305, allocations: 80.14 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.3305, allocations: 20 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.3306, allocations: 17.7 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3307, allocations: 310.8 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.3308, allocations: 15.98 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.3308, allocations: 8 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.331, allocations: 36.89 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.331, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.3312, allocations: 61.61 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3312, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3312, allocations: 3.938 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3312, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3313, allocations: 12.02 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3313, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.3314, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3314, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 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 8.293e-05/0.3315, allocations: 113.8 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3315, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3315, allocations: 11.06 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3315, allocations: 4 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3315, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3315, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.3317, allocations: 161.6 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3317, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.3318, allocations: 7.984 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3318, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3318, allocations: 3.938 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3318, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3318, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.332, allocations: 96.98 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3321, allocations: 81.28 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3321, allocations: 11.88 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.3322, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3322, allocations: 3.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3322, allocations: 8.031 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.3322, allocations: 83.27 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3322, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002082/0.3324, allocations: 15.94 kB / 1.326 GB, free: 13.93 MB / 1.029 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.0001775/0.3326, allocations: 107.2 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3328, allocations: 27.98 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3328, allocations: 3.938 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.3329, allocations: 19.97 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.3331, allocations: 4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.3335, allocations: 126.4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3337, allocations: 0.6769 MB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.723e-05/0.3338, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.3338, allocations: 15.42 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3338, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Templates: time 0.003275/0.3371, allocations: 0.7489 MB / 1.327 GB, free: 12.15 MB / 1.029 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=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: 8.692106829956174]