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.0008683/0.0008683, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009593/0.0009593, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.951/0.951, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.923e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001639/0.001659, allocations: 1.306 MB / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5768/0.5785, allocations: 129.7 MB / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.5785, allocations: 0 / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.5785, allocations: 0 / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.5786, allocations: 10.23 kB / 1.078 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.5789, allocations: 119.4 kB / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.579, allocations: 23.64 kB / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.579, allocations: 4.109 kB / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.5791, allocations: 8.469 kB / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.5791, allocations: 7.094 kB / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.5791, allocations: 0 / 1.079 GB, free: 40.15 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.5794, allocations: 174.2 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.5794, allocations: 1.203 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.5794, allocations: 10.64 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.5796, allocations: 130.7 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5796, allocations: 6.312 kB / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5796, allocations: 0 / 1.079 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.5796, allocations: 1.203 kB / 1.079 GB, free: 40.12 MB / 0.9948 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.0002235/0.5798, allocations: 267.9 kB / 1.079 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5798, allocations: 12.39 kB / 1.079 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.5799, allocations: 33.75 kB / 1.079 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.5802, allocations: 44.47 kB / 1.079 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.633e-05/0.5803, allocations: 108.2 kB / 1.079 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5803, allocations: 384 / 1.079 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.5803, allocations: 384 / 1.079 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.5804, allocations: 51.97 kB / 1.079 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.5804, allocations: 0 / 1.079 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.5804, allocations: 6.875 kB / 1.079 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5804, allocations: 0 / 1.079 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.492e-05/0.5805, allocations: 22.34 kB / 1.079 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.5807, allocations: 218 kB / 1.08 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.5808, allocations: 27.08 kB / 1.08 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.5808, allocations: 7.984 kB / 1.08 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.5808, allocations: 0 / 1.08 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.5808, allocations: 40.5 kB / 1.08 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.5808, allocations: 0 / 1.08 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001153/0.5809, allocations: 42.89 kB / 1.08 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.5809, allocations: 61.66 kB / 1.08 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.581, allocations: 105.7 kB / 1.08 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-06/0.581, allocations: 25.7 kB / 1.08 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.581, allocations: 91.34 kB / 1.08 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.581, allocations: 3.953 kB / 1.08 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5811, allocations: 22.02 kB / 1.08 GB, free: 39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.55e-05/0.5811, allocations: 318.4 kB / 1.08 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.5811, allocations: 13.03 kB / 1.08 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.5812, allocations: 9.438 kB / 1.08 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.5812, allocations: 30.48 kB / 1.08 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5812, allocations: 0 / 1.08 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.453e-05/0.5813, allocations: 60.69 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5813, allocations: 14.19 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5813, allocations: 1.203 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5813, allocations: 0 / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.5814, allocations: 12.95 kB / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5814, allocations: 0 / 1.08 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.5814, allocations: 13.23 kB / 1.08 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.5815, allocations: 0 / 1.08 GB, free: 38.62 MB / 0.9948 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 3.103e-05/0.5815, allocations: 112.7 kB / 1.081 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.5815, allocations: 6.938 kB / 1.081 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.5815, allocations: 6.562 kB / 1.081 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5815, allocations: 3.375 kB / 1.081 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5815, allocations: 0 / 1.081 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.5815, allocations: 1.203 kB / 1.081 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.951e-05/0.5816, allocations: 135.6 kB / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5816, allocations: 0 / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.5816, allocations: 6.234 kB / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.5816, allocations: 0 / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.5816, allocations: 0 / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.5816, allocations: 0 / 1.081 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5816, allocations: 4 kB / 1.081 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.438e-05/0.5817, allocations: 133.7 kB / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.5817, allocations: 6.297 kB / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.5817, allocations: 0 / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.5817, allocations: 3.812 kB / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.5817, allocations: 0.9375 kB / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.5817, allocations: 3.438 kB / 1.081 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.5818, allocations: 90.75 kB / 1.081 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5818, allocations: 0 / 1.081 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001601/0.5819, allocations: 21.41 kB / 1.081 GB, free: 38.12 MB / 0.9948 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.0001921/0.5821, allocations: 0.6793 MB / 1.082 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.5822, allocations: 18 kB / 1.082 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5822, allocations: 2.875 kB / 1.082 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.5822, allocations: 8.078 kB / 1.082 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.5824, allocations: 18.81 kB / 1.082 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.5827, allocations: 148.7 kB / 1.082 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.552e-05/0.5828, allocations: 57.3 kB / 1.082 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.5828, allocations: 7.375 kB / 1.082 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.5828, allocations: 11.56 kB / 1.082 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.5828, allocations: 0 / 1.082 GB, free: 37.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.5989, allocations: 2.286 MB / 1.084 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.562, allocations: 11.2 kB / 1.084 GB, free: 36.33 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.763561797328293]