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.001367/0.001367, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001678/0.001678, allocations: 188.6 kB / 22.22 MB, free: 5.102 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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 3.125/3.125, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002028/0.002028, allocations: 68.2 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002459/0.3473, allocations: 1.307 MB / 1.309 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3484, allocations: 0.5845 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.3484, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.3485, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.3485, allocations: 11.92 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.3489, allocations: 91.58 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.349, allocations: 23.86 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.349, allocations: 3.984 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.3491, allocations: 11.94 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.3491, allocations: 4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3491, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.3494, allocations: 147.7 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.3495, allocations: 7.984 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.3495, allocations: 7.938 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3497, allocations: 87.78 kB / 1.31 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3497, allocations: 0 / 1.31 GB, free: 15.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3497, allocations: 3.984 kB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3497, allocations: 0 / 1.31 GB, free: 15.55 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.0004324/0.3501, allocations: 270.1 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3502, allocations: 12.03 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004363/0.3506, allocations: 32.86 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3507, allocations: 106.5 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3507, allocations: 4.312 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3508, allocations: 8.359 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3509, allocations: 46.23 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3509, allocations: 192 / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3509, allocations: 3.938 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3509, allocations: 4 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3511, allocations: 23.97 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.3513, allocations: 124.8 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3514, allocations: 42.52 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.3515, allocations: 20.92 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3515, allocations: 0 / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3515, allocations: 34.55 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3515, allocations: 0 / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003155/0.3519, allocations: 73.64 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3519, allocations: 59.42 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.352, allocations: 97.86 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.352, allocations: 25.7 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.3521, allocations: 84.14 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3521, allocations: 3.953 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3521, allocations: 21.64 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3523, allocations: 314.8 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.3523, allocations: 11.98 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.3524, allocations: 15.98 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3525, allocations: 24.84 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3525, allocations: 0 / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.3527, allocations: 69.67 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3527, allocations: 4 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3527, allocations: 3.938 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3527, allocations: 4 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3528, allocations: 11.98 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3528, allocations: 3.938 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.3529, allocations: 3.938 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3529, allocations: 7.984 kB / 1.311 GB, free: 13.82 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 8.892e-05/0.353, allocations: 113.8 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.353, allocations: 3.953 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3531, allocations: 11.44 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3531, allocations: 4 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3531, allocations: 3.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3531, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3532, allocations: 128.7 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3532, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.3533, allocations: 11.98 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3533, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3533, allocations: 11.92 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3533, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3533, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.3535, allocations: 89.05 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3535, allocations: 3.984 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3536, allocations: 3.938 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3536, allocations: 4 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.3536, allocations: 0 / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3536, allocations: 3.984 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.3537, allocations: 83.22 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3537, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001992/0.3539, allocations: 16 kB / 1.311 GB, free: 13.27 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.0001833/0.3541, allocations: 112 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3543, allocations: 27.97 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3543, allocations: 0 / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.3543, allocations: 15.98 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3546, allocations: 16 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3549, allocations: 118.7 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3552, allocations: 0.6768 MB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.214e-05/0.3553, allocations: 8 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3553, allocations: 11.44 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.3553, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of Templates: time 0.003473/0.3588, allocations: 0.7622 MB / 1.313 GB, free: 11.47 MB / 1.014 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.678132735192776]