Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001463/0.001463, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001537/0.001537, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.849/2.849, allocations: 476.7 MB / 0.7672 GB, free: 5.168 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [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.001991/0.001991, allocations: 75.88 kB / 1.112 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8369, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002553/0.8394, allocations: 1.311 MB / 1.28 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.8404, allocations: 0.5648 MB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.8404, allocations: 4 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.8404, allocations: 0 / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.8405, allocations: 7.922 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.8409, allocations: 95.56 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.841, allocations: 23.81 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.841, allocations: 0 / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.841, allocations: 15.92 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.8411, allocations: 4 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.8411, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.8414, allocations: 147.8 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.8414, allocations: 3.938 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.8414, allocations: 4 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.8416, allocations: 109.5 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8416, allocations: 0 / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8416, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8416, allocations: 3.938 kB / 1.281 GB, free: 11.05 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004739/0.8421, allocations: 347.2 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.8422, allocations: 12.03 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.8422, allocations: 34.75 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.8427, allocations: 28.89 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8428, allocations: 164.4 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8428, allocations: 4.375 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.8429, allocations: 384 / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.843, allocations: 46.22 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.843, allocations: 7.938 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8431, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8431, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.8432, allocations: 23.92 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.8434, allocations: 165.6 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.8436, allocations: 48.3 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.8437, allocations: 12.91 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.8437, allocations: 0 / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.8437, allocations: 38.56 kB / 1.281 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8437, allocations: 0 / 1.281 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.8441, allocations: 89.47 kB / 1.281 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.8441, allocations: 51.41 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.8442, allocations: 97.84 kB / 1.282 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.8442, allocations: 25.7 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.8443, allocations: 80.14 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.8443, allocations: 4 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.8444, allocations: 21.78 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8445, allocations: 314.8 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.8446, allocations: 15.98 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.8446, allocations: 4 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.8448, allocations: 36.83 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8448, allocations: 4.062 kB / 1.282 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.845, allocations: 57.61 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.845, allocations: 7.938 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.845, allocations: 4 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.845, allocations: 0 / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.8451, allocations: 7.984 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.8451, allocations: 0 / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.8452, allocations: 8.031 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.8452, allocations: 0 / 1.282 GB, free: 9.09 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.788e-05/0.8453, allocations: 114.4 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.8453, allocations: 7.938 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.8454, allocations: 7.062 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8454, allocations: 0 / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8454, allocations: 0 / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8454, allocations: 4 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.8455, allocations: 153.7 kB / 1.282 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8455, allocations: 0 / 1.282 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.8456, allocations: 11.92 kB / 1.282 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.8456, allocations: 7.938 kB / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.8456, allocations: 0 / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8456, allocations: 0 / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8456, allocations: 0 / 1.282 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.8458, allocations: 93.03 kB / 1.283 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.8459, allocations: 88.98 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.8459, allocations: 3.938 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.846, allocations: 4 kB / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.846, allocations: 0 / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.846, allocations: 4 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.8461, allocations: 87.27 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8461, allocations: 4.031 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002078/0.8463, allocations: 12 kB / 1.283 GB, free: 8.398 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.0006718/0.847, allocations: 0.6358 MB / 1.283 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.8472, allocations: 27.97 kB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8472, allocations: 0 / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.8472, allocations: 15.98 kB / 1.283 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.8474, allocations: 4 kB / 1.283 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.848, allocations: 160.1 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.8483, allocations: 0.6768 MB / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.92e-05/0.8484, allocations: 7.938 kB / 1.284 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.8484, allocations: 15.42 kB / 1.284 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.8484, allocations: 0 / 1.284 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.8726, allocations: 1.591 MB / 1.286 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/9.217, allocations: 5.797 kB / 1.286 GB, free: 5.32 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.50439843791537]