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.001478/0.001478, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001601/0.001601, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.816 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.485/3.485, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002862/0.002862, allocations: 64.48 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4097, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002762/0.4125, allocations: 1.301 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.5906, allocations: 129.6 MB / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.5906, allocations: 0 / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.5906, allocations: 0 / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.5907, allocations: 7.922 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.5913, allocations: 119.4 kB / 1.491 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.5913, allocations: 19.88 kB / 1.491 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.5914, allocations: 11.98 kB / 1.491 GB, free: 10.52 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.5914, allocations: 7.938 kB / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.5915, allocations: 4 kB / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5915, allocations: 0 / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004795/0.592, allocations: 171.7 kB / 1.492 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.592, allocations: 0 / 1.492 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.592, allocations: 11.92 kB / 1.492 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.5923, allocations: 115.9 kB / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5923, allocations: 0 / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5923, allocations: 0 / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.5923, allocations: 0 / 1.492 GB, free: 10.21 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.0003904/0.5927, allocations: 278.1 kB / 1.492 GB, free: 9.914 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5927, allocations: 12.03 kB / 1.492 GB, free: 9.902 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.5928, allocations: 34.75 kB / 1.492 GB, free: 9.859 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.5934, allocations: 40.84 kB / 1.492 GB, free: 9.82 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5935, allocations: 110.3 kB / 1.492 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5935, allocations: 0 / 1.492 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5935, allocations: 8 kB / 1.492 GB, free: 9.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.5937, allocations: 49.61 kB / 1.492 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5937, allocations: 0 / 1.492 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5937, allocations: 0 / 1.492 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5937, allocations: 0 / 1.492 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.5938, allocations: 23.91 kB / 1.492 GB, free: 9.602 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.5942, allocations: 220 kB / 1.492 GB, free: 9.344 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.5943, allocations: 26.58 kB / 1.492 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.5943, allocations: 20.84 kB / 1.492 GB, free: 9.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.5943, allocations: 0 / 1.492 GB, free: 9.285 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5944, allocations: 30.56 kB / 1.493 GB, free: 9.246 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5944, allocations: 0 / 1.493 GB, free: 9.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.5945, allocations: 49.62 kB / 1.493 GB, free: 9.191 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.5946, allocations: 51.41 kB / 1.493 GB, free: 9.129 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.5947, allocations: 113.7 kB / 1.493 GB, free: 9.008 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.5948, allocations: 25.83 kB / 1.493 GB, free: 8.977 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.5948, allocations: 88.14 kB / 1.493 GB, free: 8.887 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.5948, allocations: 11.88 kB / 1.493 GB, free: 8.875 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.5949, allocations: 21.7 kB / 1.493 GB, free: 8.848 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.595, allocations: 310.8 kB / 1.493 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.5951, allocations: 15.98 kB / 1.493 GB, free: 8.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.5951, allocations: 4 kB / 1.493 GB, free: 8.516 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5952, allocations: 28.78 kB / 1.493 GB, free: 8.484 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5952, allocations: 4 kB / 1.493 GB, free: 8.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001975/0.5954, allocations: 57.66 kB / 1.493 GB, free: 8.418 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5955, allocations: 8 kB / 1.493 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5955, allocations: 0 / 1.493 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5955, allocations: 0 / 1.493 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5956, allocations: 11.98 kB / 1.493 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5956, allocations: 0 / 1.493 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.5957, allocations: 15.94 kB / 1.493 GB, free: 8.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.5958, allocations: 3.984 kB / 1.493 GB, free: 8.379 MB / 1.186 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 8.99e-05/0.5958, allocations: 110.9 kB / 1.493 GB, free: 8.262 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.5959, allocations: 3.953 kB / 1.493 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.5959, allocations: 7.312 kB / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5959, allocations: 4 kB / 1.493 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5959, allocations: 3.938 kB / 1.493 GB, free: 8.242 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5959, allocations: 3.938 kB / 1.493 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.5961, allocations: 124.7 kB / 1.494 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5961, allocations: 0 / 1.494 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.5961, allocations: 4 kB / 1.494 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5961, allocations: 4 kB / 1.494 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5961, allocations: 4 kB / 1.494 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5961, allocations: 3.938 kB / 1.494 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5961, allocations: 3.938 kB / 1.494 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5962, allocations: 139.5 kB / 1.494 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.5963, allocations: 0 / 1.494 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5963, allocations: 0 / 1.494 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.5964, allocations: 4 kB / 1.494 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.5964, allocations: 7.922 kB / 1.494 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5964, allocations: 4.031 kB / 1.494 GB, free: 7.887 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.929e-05/0.5965, allocations: 91.59 kB / 1.494 GB, free: 7.797 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5965, allocations: 0 / 1.494 GB, free: 7.797 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002671/0.5968, allocations: 19.88 kB / 1.494 GB, free: 7.777 MB / 1.186 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.0005111/0.5973, allocations: 0.6734 MB / 1.494 GB, free: 7.078 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.5974, allocations: 24.14 kB / 1.495 GB, free: 7.055 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5974, allocations: 0 / 1.495 GB, free: 7.055 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.5974, allocations: 7.938 kB / 1.495 GB, free: 7.047 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.5978, allocations: 13.25 kB / 1.495 GB, free: 7.035 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.5983, allocations: 153.2 kB / 1.495 GB, free: 6.844 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.5983, allocations: 59.45 kB / 1.495 GB, free: 6.766 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.5984, allocations: 12.03 kB / 1.495 GB, free: 6.754 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.5984, allocations: 11.44 kB / 1.495 GB, free: 6.742 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5984, allocations: 0 / 1.495 GB, free: 6.742 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.6285, allocations: 2.153 MB / 1.497 GB, free: 4.727 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.04, allocations: 13.44 kB / 1.497 GB, free: 4.719 MB / 1.186 GB " [Timeout remaining time 288] (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: 19.546094081830233]