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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001552/0.001552, allocations: 216 kB / 22.26 MB, free: 5.113 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: 8.031 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.787/2.787, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002002/0.002002, allocations: 65.09 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00255/0.332, allocations: 1.315 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1903/0.5222, allocations: 150.9 MB / 1.432 GB, free: 2.871 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.5223, allocations: 4 kB / 1.432 GB, free: 2.867 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.5223, allocations: 3.938 kB / 1.432 GB, free: 2.863 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.5224, allocations: 3.938 kB / 1.432 GB, free: 2.859 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.5228, allocations: 115.5 kB / 1.432 GB, free: 2.746 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.5229, allocations: 19.88 kB / 1.432 GB, free: 2.727 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.5229, allocations: 4 kB / 1.432 GB, free: 2.723 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.523, allocations: 7.984 kB / 1.432 GB, free: 2.715 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.523, allocations: 11.92 kB / 1.432 GB, free: 2.703 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.523, allocations: 4 kB / 1.432 GB, free: 2.699 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.5235, allocations: 179.6 kB / 1.432 GB, free: 2.523 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.5235, allocations: 0 / 1.432 GB, free: 2.523 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.5235, allocations: 11.94 kB / 1.432 GB, free: 2.512 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.5238, allocations: 115.6 kB / 1.433 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5238, allocations: 0 / 1.433 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5238, allocations: 0 / 1.433 GB, free: 2.406 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5238, allocations: 0 / 1.433 GB, free: 2.406 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.000453/0.5243, allocations: 278 kB / 1.433 GB, free: 2.105 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5243, allocations: 16.03 kB / 1.433 GB, free: 2.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.5244, allocations: 34.73 kB / 1.433 GB, free: 2.047 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.5251, allocations: 36.89 kB / 1.433 GB, free: 2.012 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5252, allocations: 110.3 kB / 1.433 GB, free: 1.879 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5252, allocations: 0 / 1.433 GB, free: 1.879 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5252, allocations: 4 kB / 1.433 GB, free: 1.875 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.5254, allocations: 49.59 kB / 1.433 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5255, allocations: 4 kB / 1.433 GB, free: 1.816 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5255, allocations: 4 kB / 1.433 GB, free: 1.812 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5255, allocations: 0 / 1.433 GB, free: 1.812 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5256, allocations: 15.97 kB / 1.433 GB, free: 1.797 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.526, allocations: 227.9 kB / 1.433 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/0.5261, allocations: 30.45 kB / 1.433 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.5261, allocations: 8.922 kB / 1.433 GB, free: 1.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.5261, allocations: 3.938 kB / 1.433 GB, free: 1.477 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.5261, allocations: 38.56 kB / 1.433 GB, free: 1.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5261, allocations: 0 / 1.433 GB, free: 1.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.5263, allocations: 37.81 kB / 1.433 GB, free: 1.387 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.5263, allocations: 55.41 kB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5265, allocations: 117.8 kB / 1.434 GB, free: 1.195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5265, allocations: 25.7 kB / 1.434 GB, free: 1.164 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.5266, allocations: 80.14 kB / 1.434 GB, free: 1.082 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.5266, allocations: 11.88 kB / 1.434 GB, free: 1.07 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.5266, allocations: 25.64 kB / 1.434 GB, free: 1.039 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5268, allocations: 318.8 kB / 1.434 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.5268, allocations: 7.984 kB / 1.434 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.5269, allocations: 11.98 kB / 1.434 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.527, allocations: 21.12 kB / 1.434 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.527, allocations: 4 kB / 1.434 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001981/0.5272, allocations: 69.61 kB / 1.434 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5272, allocations: 4 kB / 1.434 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5272, allocations: 0 / 1.434 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5272, allocations: 0 / 1.434 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5274, allocations: 15.92 kB / 1.434 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5274, allocations: 0 / 1.434 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.5275, allocations: 7.938 kB / 1.434 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5275, allocations: 7.984 kB / 1.434 GB, free: 0.5625 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.115e-05/0.5276, allocations: 113.8 kB / 1.434 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.5276, allocations: 0 / 1.434 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.5277, allocations: 3.312 kB / 1.434 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.5277, allocations: 0 / 1.434 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5277, allocations: 4 kB / 1.434 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5277, allocations: 3.938 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.5278, allocations: 124.8 kB / 1.434 GB, free: 272 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5278, allocations: 0 / 1.434 GB, free: 272 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.5279, allocations: 0 / 1.434 GB, free: 272 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5279, allocations: 7.984 kB / 1.434 GB, free: 264 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5279, allocations: 4 kB / 1.434 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5279, allocations: 0 / 1.434 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5279, allocations: 0 / 1.434 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.528, allocations: 139.4 kB / 1.435 GB, free: 104 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.528, allocations: 11.94 kB / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.528, allocations: 4 kB / 1.435 GB, free: 88 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.5281, allocations: 0 / 1.435 GB, free: 88 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.5282, allocations: 15.91 kB / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.5282, allocations: 0 / 1.435 GB, free: 72 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001154/0.5283, allocations: 91.27 kB / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5283, allocations: 0 / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002573/0.5285, allocations: 15.94 kB / 1.435 GB, free: 15.96 MB / 1.139 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.000532/0.5291, allocations: 0.6734 MB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.5292, allocations: 23.92 kB / 1.435 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.5292, allocations: 0 / 1.435 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.5292, allocations: 4 kB / 1.435 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.5296, allocations: 11.92 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.53, allocations: 162.9 kB / 1.436 GB, free: 15.03 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5304, allocations: 0.6768 MB / 1.436 GB, free: 14.33 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.5304, allocations: 4 kB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.5305, allocations: 11.44 kB / 1.436 GB, free: 14.31 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.5305, allocations: 0 / 1.436 GB, free: 14.31 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.5593, allocations: 1.709 MB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.29, allocations: 6.578 kB / 1.438 GB, free: 12.73 MB / 1.139 GB " [Timeout remaining time 288] (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: 18.20087774899912]