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.001529/0.001529, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001688/0.001688, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.965 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.296/3.296, allocations: 0.505 GB / 0.8101 GB, free: 21.97 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.002124/0.002124, allocations: 66.02 kB / 1.177 GB, free: 17.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 180.2 MB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002679/0.3748, allocations: 1.312 MB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5611, allocations: 151 MB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.5611, allocations: 4 kB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.5611, allocations: 0 / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.5612, allocations: 7.922 kB / 1.502 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.5617, allocations: 119.4 kB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.5617, allocations: 15.88 kB / 1.502 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.5618, allocations: 7.984 kB / 1.502 GB, free: 15.53 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.5618, allocations: 11.94 kB / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.5619, allocations: 4 kB / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.5619, allocations: 0 / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.5623, allocations: 183.7 kB / 1.502 GB, free: 15.34 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.5623, allocations: 7.922 kB / 1.502 GB, free: 15.33 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.5623, allocations: 4 kB / 1.502 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.5626, allocations: 119.9 kB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5626, allocations: 0 / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5626, allocations: 0 / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.5626, allocations: 0 / 1.502 GB, free: 15.21 MB / 1.201 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.0003803/0.563, allocations: 282.1 kB / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.563, allocations: 8.031 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.5631, allocations: 30.75 kB / 1.502 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.5636, allocations: 40.83 kB / 1.502 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5638, allocations: 114.2 kB / 1.502 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.5638, allocations: 8 kB / 1.502 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.5638, allocations: 7.984 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.564, allocations: 41.67 kB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.564, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.564, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.564, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.5641, allocations: 27.91 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.5645, allocations: 220 kB / 1.503 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.5645, allocations: 30.52 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.5646, allocations: 12.91 kB / 1.503 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.5646, allocations: 0 / 1.503 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5646, allocations: 30.56 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5646, allocations: 4 kB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.5648, allocations: 41.64 kB / 1.503 GB, free: 14.19 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.5648, allocations: 55.41 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5649, allocations: 113.8 kB / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.565, allocations: 29.7 kB / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.565, allocations: 84.09 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.565, allocations: 11.89 kB / 1.503 GB, free: 13.87 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.5651, allocations: 17.83 kB / 1.503 GB, free: 13.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5652, allocations: 318.8 kB / 1.503 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.5653, allocations: 7.984 kB / 1.503 GB, free: 13.52 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.384e-05/0.5653, allocations: 11.98 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.5654, allocations: 24.78 kB / 1.504 GB, free: 13.48 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5654, allocations: 4 kB / 1.504 GB, free: 13.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001855/0.5656, allocations: 57.95 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5656, allocations: 4 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5656, allocations: 0 / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5656, allocations: 4 kB / 1.504 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.5657, allocations: 8.031 kB / 1.504 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5657, allocations: 0 / 1.504 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5659, allocations: 19.91 kB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5659, allocations: 4 kB / 1.504 GB, free: 13.37 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.739e-05/0.566, allocations: 117.7 kB / 1.504 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.566, allocations: 7.938 kB / 1.504 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.5661, allocations: 3.312 kB / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5661, allocations: 0 / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5661, allocations: 3.984 kB / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5661, allocations: 3.938 kB / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.5662, allocations: 128.7 kB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5662, allocations: 0 / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.5663, allocations: 8 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5663, allocations: 0 / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.5663, allocations: 4 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5663, allocations: 0 / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5663, allocations: 0 / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.5664, allocations: 143.4 kB / 1.504 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5664, allocations: 0 / 1.504 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5664, allocations: 0 / 1.504 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.5665, allocations: 8.031 kB / 1.504 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.5665, allocations: 11.88 kB / 1.504 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5665, allocations: 0 / 1.504 GB, free: 12.87 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.733e-05/0.5666, allocations: 87.27 kB / 1.504 GB, free: 12.79 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5666, allocations: 0 / 1.504 GB, free: 12.79 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002606/0.5669, allocations: 23.92 kB / 1.504 GB, free: 12.76 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.0004881/0.5674, allocations: 0.6734 MB / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.5675, allocations: 19.98 kB / 1.505 GB, free: 12.04 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5675, allocations: 0 / 1.505 GB, free: 12.04 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.5675, allocations: 7.938 kB / 1.505 GB, free: 12.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5679, allocations: 18.83 kB / 1.505 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.5684, allocations: 154.9 kB / 1.505 GB, free: 11.83 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5687, allocations: 0.6729 MB / 1.506 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.889e-05/0.5687, allocations: 8 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.5688, allocations: 15.42 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of SimCode: time 3.31e-07/0.5688, allocations: 0 / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.5969, allocations: 1.699 MB / 1.507 GB, free: 9.539 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.25, allocations: 14.53 kB / 1.507 GB, free: 9.531 MB / 1.201 GB " [Timeout remaining time 289] (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: 18.35274570599995]