Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001305/0.001305, allocations: 108.4 kB / 16.46 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.002271/0.002271, allocations: 216.2 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.858/2.858, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_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.002357/0.002357, allocations: 71.84 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9508/0.9532, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002821/0.956, allocations: 1.313 MB / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1927/1.149, allocations: 150.9 MB / 1.427 GB, free: 4.621 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/1.149, allocations: 0 / 1.427 GB, free: 4.621 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/1.149, allocations: 4 kB / 1.427 GB, free: 4.617 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/1.149, allocations: 7.922 kB / 1.427 GB, free: 4.609 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/1.149, allocations: 119.4 kB / 1.427 GB, free: 4.492 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/1.149, allocations: 27.81 kB / 1.427 GB, free: 4.465 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/1.149, allocations: 0 / 1.427 GB, free: 4.465 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/1.149, allocations: 7.984 kB / 1.427 GB, free: 4.457 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/1.149, allocations: 4 kB / 1.427 GB, free: 4.453 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/1.149, allocations: 0 / 1.427 GB, free: 4.453 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/1.15, allocations: 175.7 kB / 1.427 GB, free: 4.281 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/1.15, allocations: 11.92 kB / 1.427 GB, free: 4.27 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/1.15, allocations: 7.938 kB / 1.427 GB, free: 4.262 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/1.15, allocations: 117.5 kB / 1.427 GB, free: 4.152 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.15, allocations: 4 kB / 1.427 GB, free: 4.148 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.15, allocations: 0 / 1.427 GB, free: 4.148 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.15, allocations: 0 / 1.427 GB, free: 4.148 MB / 1.123 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.0004504/1.151, allocations: 355.1 kB / 1.428 GB, free: 3.754 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.151, allocations: 12.03 kB / 1.428 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/1.151, allocations: 30.75 kB / 1.428 GB, free: 3.703 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/1.151, allocations: 40.89 kB / 1.428 GB, free: 3.664 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/1.152, allocations: 172.1 kB / 1.428 GB, free: 3.457 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/1.152, allocations: 3.938 kB / 1.428 GB, free: 3.453 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/1.152, allocations: 4 kB / 1.428 GB, free: 3.449 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/1.152, allocations: 45.61 kB / 1.428 GB, free: 3.398 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.152, allocations: 7.984 kB / 1.428 GB, free: 3.391 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/1.152, allocations: 0 / 1.428 GB, free: 3.391 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.152, allocations: 4 kB / 1.428 GB, free: 3.387 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/1.152, allocations: 19.97 kB / 1.428 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/1.152, allocations: 256.8 kB / 1.428 GB, free: 3.066 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/1.152, allocations: 22.56 kB / 1.428 GB, free: 3.035 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/1.152, allocations: 16.92 kB / 1.428 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/1.152, allocations: 0 / 1.428 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.152, allocations: 34.5 kB / 1.428 GB, free: 2.973 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.152, allocations: 0 / 1.428 GB, free: 2.973 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/1.153, allocations: 41.7 kB / 1.428 GB, free: 2.926 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.153, allocations: 51.41 kB / 1.428 GB, free: 2.863 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.153, allocations: 117.8 kB / 1.429 GB, free: 2.738 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.153, allocations: 29.83 kB / 1.429 GB, free: 2.703 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/1.153, allocations: 80.14 kB / 1.429 GB, free: 2.621 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/1.153, allocations: 7.953 kB / 1.429 GB, free: 2.613 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/1.153, allocations: 17.7 kB / 1.429 GB, free: 2.59 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.153, allocations: 310.8 kB / 1.429 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/1.153, allocations: 15.98 kB / 1.429 GB, free: 2.262 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/1.153, allocations: 11.92 kB / 1.429 GB, free: 2.25 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.564e-05/1.154, allocations: 28.84 kB / 1.429 GB, free: 2.219 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.154, allocations: 0 / 1.429 GB, free: 2.219 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002056/1.154, allocations: 57.62 kB / 1.429 GB, free: 2.156 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.154, allocations: 8 kB / 1.429 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.154, allocations: 0 / 1.429 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.154, allocations: 0 / 1.429 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.154, allocations: 15.98 kB / 1.429 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.154, allocations: 0 / 1.429 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/1.154, allocations: 15.86 kB / 1.429 GB, free: 2.117 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/1.154, allocations: 0 / 1.429 GB, free: 2.117 MB / 1.123 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.94e-05/1.154, allocations: 116 kB / 1.429 GB, free: 1.996 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/1.154, allocations: 4 kB / 1.429 GB, free: 1.992 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/1.154, allocations: 11.11 kB / 1.429 GB, free: 1.977 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.154, allocations: 0 / 1.429 GB, free: 1.977 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.154, allocations: 4 kB / 1.429 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.154, allocations: 7.938 kB / 1.429 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/1.154, allocations: 149.7 kB / 1.429 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.154, allocations: 4 kB / 1.429 GB, free: 1.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/1.154, allocations: 0 / 1.429 GB, free: 1.766 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.154, allocations: 3.938 kB / 1.429 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/1.154, allocations: 4 kB / 1.429 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.154, allocations: 0 / 1.429 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.154, allocations: 0 / 1.429 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/1.155, allocations: 139.8 kB / 1.43 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/1.155, allocations: 81.06 kB / 1.43 GB, free: 1.508 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/1.155, allocations: 4 kB / 1.43 GB, free: 1.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.155, allocations: 3.984 kB / 1.43 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/1.155, allocations: 11.86 kB / 1.43 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/1.155, allocations: 4 kB / 1.43 GB, free: 1.484 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001137/1.155, allocations: 91.27 kB / 1.43 GB, free: 1.395 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.155, allocations: 4.031 kB / 1.43 GB, free: 1.391 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002528/1.155, allocations: 15.94 kB / 1.43 GB, free: 1.375 MB / 1.123 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.0005345/1.156, allocations: 0.6739 MB / 1.43 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001466/1.156, allocations: 27.94 kB / 1.43 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.156, allocations: 0 / 1.43 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/1.156, allocations: 4 kB / 1.43 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/1.156, allocations: 14.59 kB / 1.43 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/1.157, allocations: 152.8 kB / 1.431 GB, free: 456 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/1.157, allocations: 0.6729 MB / 1.431 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.599e-05/1.157, allocations: 12.05 kB / 1.431 GB, free: 15.73 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/1.157, allocations: 19.38 kB / 1.431 GB, free: 15.71 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/1.157, allocations: 3.938 kB / 1.431 GB, free: 15.71 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/1.183, allocations: 1.608 MB / 1.433 GB, free: 14.22 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/9.415, allocations: 1.25 kB / 1.433 GB, free: 14.22 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_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_X_pSatpphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.638445395976305]