Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001966/0.001966, allocations: 106.6 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.003131/0.003131, 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.505 GB / 0.8066 GB, free: 23.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002078/0.002078, allocations: 74.8 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4195, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002746/0.4222, allocations: 1.305 MB / 1.349 GB, free: 8.707 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2405/0.6627, allocations: 150.9 MB / 1.496 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.6627, allocations: 0 / 1.496 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.6628, allocations: 0 / 1.496 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.6628, allocations: 15.91 kB / 1.496 GB, free: 1.203 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.6634, allocations: 115.4 kB / 1.497 GB, free: 1.09 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.6635, allocations: 19.92 kB / 1.497 GB, free: 1.07 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.6636, allocations: 4 kB / 1.497 GB, free: 1.066 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/0.6636, allocations: 7.938 kB / 1.497 GB, free: 1.059 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.6637, allocations: 7.938 kB / 1.497 GB, free: 1.051 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.6637, allocations: 0 / 1.497 GB, free: 1.051 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.6642, allocations: 183.7 kB / 1.497 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.6643, allocations: 7.922 kB / 1.497 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.6643, allocations: 12 kB / 1.497 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.6646, allocations: 111.9 kB / 1.497 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6646, allocations: 0 / 1.497 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6646, allocations: 0 / 1.497 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6646, allocations: 0 / 1.497 GB, free: 0.7422 MB / 1.186 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.0004591/0.6651, allocations: 351.2 kB / 1.497 GB, free: 360 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.6651, allocations: 15.98 kB / 1.497 GB, free: 344 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.6652, allocations: 38.62 kB / 1.497 GB, free: 296 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007708/0.6659, allocations: 40.88 kB / 1.497 GB, free: 256 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.6661, allocations: 176.1 kB / 1.497 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.6661, allocations: 0 / 1.497 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.6661, allocations: 0 / 1.497 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.6663, allocations: 45.66 kB / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6663, allocations: 0 / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6664, allocations: 4 kB / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6664, allocations: 4 kB / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.6665, allocations: 15.98 kB / 1.498 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.667, allocations: 264.8 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.6671, allocations: 22.58 kB / 1.498 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.6671, allocations: 12.92 kB / 1.498 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.6671, allocations: 0 / 1.498 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6671, allocations: 30.56 kB / 1.498 GB, free: 15.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6671, allocations: 0 / 1.498 GB, free: 15.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0001955/0.6673, allocations: 53.61 kB / 1.498 GB, free: 15.51 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.6674, allocations: 51.41 kB / 1.498 GB, free: 15.45 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.6676, allocations: 113.9 kB / 1.498 GB, free: 15.33 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6676, allocations: 29.7 kB / 1.498 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.6677, allocations: 88.09 kB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.6677, allocations: 11.88 kB / 1.498 GB, free: 15.19 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.6677, allocations: 21.64 kB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6679, allocations: 314.8 kB / 1.498 GB, free: 14.85 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.668, allocations: 11.98 kB / 1.499 GB, free: 14.84 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.6681, allocations: 11.98 kB / 1.499 GB, free: 14.82 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6682, allocations: 20.86 kB / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6682, allocations: 0 / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002989/0.6685, allocations: 61.59 kB / 1.499 GB, free: 14.73 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6685, allocations: 8 kB / 1.499 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6685, allocations: 0 / 1.499 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6686, allocations: 0 / 1.499 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6687, allocations: 11.98 kB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6687, allocations: 0 / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.6689, allocations: 11.94 kB / 1.499 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.6689, allocations: 3.984 kB / 1.499 GB, free: 14.7 MB / 1.201 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 (3): * Single equations (assignments): 3 * 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.696e-05/0.669, allocations: 113.8 kB / 1.499 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.6691, allocations: 4 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.6691, allocations: 3.125 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6691, allocations: 4 kB / 1.499 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6691, allocations: 0 / 1.499 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.6691, allocations: 3.938 kB / 1.499 GB, free: 14.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.6693, allocations: 153.7 kB / 1.499 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6693, allocations: 0 / 1.499 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.6694, allocations: 7.984 kB / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6694, allocations: 0 / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.6694, allocations: 0 / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6694, allocations: 0 / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6694, allocations: 3.938 kB / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.6695, allocations: 143.5 kB / 1.499 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.6696, allocations: 81.09 kB / 1.499 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.6696, allocations: 0 / 1.499 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.6698, allocations: 4 kB / 1.499 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.6698, allocations: 3.938 kB / 1.499 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.6698, allocations: 0 / 1.499 GB, free: 14.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001347/0.6699, allocations: 95.3 kB / 1.499 GB, free: 13.99 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6699, allocations: 0 / 1.499 GB, free: 13.99 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003979/0.6703, allocations: 15.94 kB / 1.499 GB, free: 13.98 MB / 1.201 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.0006127/0.6709, allocations: 0.6828 MB / 1.5 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.6711, allocations: 24.02 kB / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6711, allocations: 0 / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.6711, allocations: 4 kB / 1.5 GB, free: 13.24 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.6716, allocations: 22.31 kB / 1.5 GB, free: 13.22 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.6722, allocations: 152.6 kB / 1.5 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.6725, allocations: 0.6807 MB / 1.501 GB, free: 12.33 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.385e-05/0.6726, allocations: 11.98 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.6727, allocations: 7.438 kB / 1.501 GB, free: 12.31 MB / 1.201 GB Notification: Performance of SimCode: time 5.51e-07/0.6727, allocations: 0 / 1.501 GB, free: 12.31 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.7084, allocations: 1.602 MB / 1.502 GB, free: 10.85 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.898, allocations: 10.19 kB / 1.502 GB, free: 10.84 MB / 1.201 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 16.078977793920785]