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: 104.4 kB / 19.7 MB, free: 2.125 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.001558/0.001558, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.75/2.75, allocations: 476 MB / 0.7707 GB, free: 4.703 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.002212/0.002212, allocations: 69.11 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.326, allocations: 169.9 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002984/0.3289, allocations: 1.438 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.33, allocations: 0.5627 MB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.3301, allocations: 0 / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.3301, allocations: 7.938 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.3301, allocations: 3.938 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3305, allocations: 99.56 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.3306, allocations: 23.92 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.3307, allocations: 4 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.3307, allocations: 15.92 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.3308, allocations: 11.92 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3308, allocations: 0 / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.3311, allocations: 139.8 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.3311, allocations: 4 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.3311, allocations: 15.91 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3313, allocations: 103.6 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3313, allocations: 0 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3313, allocations: 0 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3313, allocations: 0 / 1.286 GB, free: 9.5 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.000474/0.3318, allocations: 286 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3319, allocations: 8.031 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3323, allocations: 40.89 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3325, allocations: 110.5 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3325, allocations: 384 / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3325, allocations: 384 / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3327, allocations: 62.2 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3327, allocations: 4.172 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3328, allocations: 7.938 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3328, allocations: 4 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.333, allocations: 47.94 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.3335, allocations: 216.5 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3337, allocations: 62.53 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3338, allocations: 28.89 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3339, allocations: 3.938 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3339, allocations: 34.56 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3339, allocations: 0 / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005091/0.3344, allocations: 113.5 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3345, allocations: 51.41 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.3345, allocations: 109.8 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3346, allocations: 29.64 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.3346, allocations: 84.14 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3346, allocations: 3.953 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3347, allocations: 17.7 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3349, allocations: 315 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.335, allocations: 31.97 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3352, allocations: 23.97 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3354, allocations: 60.86 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3354, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003037/0.3357, allocations: 89.52 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3357, allocations: 10.19 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3358, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3358, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3359, allocations: 20 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3359, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.336, allocations: 7.953 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.336, allocations: 11.98 kB / 1.288 GB, free: 7.469 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 0.000129/0.3361, allocations: 109.8 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.3362, allocations: 8.125 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3362, allocations: 11.3 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3362, allocations: 0 / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3362, allocations: 0 / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3362, allocations: 0 / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3364, allocations: 113.3 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3364, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3365, allocations: 15.97 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3365, allocations: 3.938 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3365, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3365, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3365, allocations: 3.938 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3369, allocations: 187.5 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.3369, allocations: 7.875 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3369, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.337, allocations: 15.98 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3371, allocations: 3.938 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3371, allocations: 4.031 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.3371, allocations: 83.27 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002529/0.3374, allocations: 15.95 kB / 1.288 GB, free: 6.844 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.0001659/0.3375, allocations: 115.1 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3379, allocations: 63.88 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3379, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.338, allocations: 27.97 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3383, allocations: 5.891 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.3388, allocations: 164.5 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.3389, allocations: 67.47 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3389, allocations: 7.438 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3389, allocations: 4 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of Templates: time 0.002679/0.3416, allocations: 0.9157 MB / 1.29 GB, free: 5.414 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/jenkins1/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: 11.358951807953417]