Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.001438/0.001438, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00158/0.00158, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.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.0021/0.0021, allocations: 71.94 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002784/0.3227, allocations: 1.43 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3239, allocations: 0.5665 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3239, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.324, allocations: 3.938 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.3244, allocations: 99.56 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.3245, allocations: 31.84 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.3246, allocations: 8 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.3246, allocations: 11.94 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.3247, allocations: 7.984 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.3247, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.325, allocations: 143.8 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.325, allocations: 3.938 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3251, allocations: 11.98 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3253, allocations: 95.7 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3253, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3253, allocations: 3.938 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3253, allocations: 4 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004918/0.3258, allocations: 286 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3258, allocations: 12.03 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.3263, allocations: 28.89 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3264, allocations: 110.5 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3264, allocations: 384 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3265, allocations: 4.375 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3267, allocations: 66.2 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3267, allocations: 8.172 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3267, allocations: 3.938 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3267, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.327, allocations: 51.94 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.3274, allocations: 216.5 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.3277, allocations: 58.53 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.3278, allocations: 28.89 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3278, allocations: 7.938 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3279, allocations: 38.56 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3279, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005235/0.3284, allocations: 117.5 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3284, allocations: 55.41 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.3285, allocations: 106 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3285, allocations: 25.7 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3286, allocations: 84.14 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3286, allocations: 7.953 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.3287, allocations: 13.7 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3288, allocations: 318.8 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3289, allocations: 23.97 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3291, allocations: 31.97 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3293, allocations: 56.8 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3293, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003095/0.3296, allocations: 97.53 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3296, allocations: 4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3296, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3297, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3298, allocations: 15.97 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3298, allocations: 3.938 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.3299, allocations: 8 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3299, allocations: 3.984 kB / 1.287 GB, free: 7.578 MB / 0.9825 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.121e-05/0.33, allocations: 117.8 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.33, allocations: 7.938 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.3301, allocations: 3.312 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3301, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3301, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3301, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3302, allocations: 109.3 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3302, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3303, allocations: 23.97 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3303, allocations: 3.938 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3303, allocations: 0 / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.3304, allocations: 7.938 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3304, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.3307, allocations: 175.5 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.3307, allocations: 15.92 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3307, allocations: 4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3309, allocations: 7.984 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3309, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3309, allocations: 4 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.3309, allocations: 83.2 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3309, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002441/0.3312, allocations: 8 kB / 1.288 GB, free: 6.961 MB / 0.9825 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.0001724/0.3314, allocations: 119.2 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.3317, allocations: 55.88 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3317, allocations: 4 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3318, allocations: 27.97 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3321, allocations: 6.156 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3326, allocations: 146.7 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.3326, allocations: 59.34 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.031e-05/0.3327, allocations: 11.94 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3327, allocations: 11.44 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3327, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.003467/0.3362, allocations: 0.843 MB / 1.289 GB, free: 5.645 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.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.832310063764453]