Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.89 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002362/0.2691, allocations: 1.297 MB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6277/0.8968, allocations: 148.1 MB / 1.361 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.8968, allocations: 0.9375 kB / 1.361 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.8968, allocations: 0.6562 kB / 1.361 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.8969, allocations: 6.453 kB / 1.361 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.8973, allocations: 122 kB / 1.362 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.8973, allocations: 22.8 kB / 1.362 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.8974, allocations: 2.156 kB / 1.362 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.8974, allocations: 11.91 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.8974, allocations: 6.297 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.8974, allocations: 1.25 kB / 1.362 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.8978, allocations: 171.7 kB / 1.362 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.8978, allocations: 9.25 kB / 1.362 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.8978, allocations: 5.703 kB / 1.362 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.898, allocations: 113.5 kB / 1.362 GB, free: 7.207 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.898, allocations: 4 kB / 1.362 GB, free: 7.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.898, allocations: 0 / 1.362 GB, free: 7.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.898, allocations: 1.125 kB / 1.362 GB, free: 7.203 MB / 1.045 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.0003473/0.8984, allocations: 349.9 kB / 1.362 GB, free: 6.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.8984, allocations: 9.5 kB / 1.362 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.8985, allocations: 37.31 kB / 1.362 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.8989, allocations: 41.8 kB / 1.362 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.8991, allocations: 162.7 kB / 1.362 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8991, allocations: 9.031 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8991, allocations: 1.438 kB / 1.362 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.8993, allocations: 44.69 kB / 1.363 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8993, allocations: 7.922 kB / 1.363 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.8993, allocations: 0 / 1.363 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.8993, allocations: 2.031 kB / 1.363 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.8994, allocations: 24.75 kB / 1.363 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.8997, allocations: 248.6 kB / 1.363 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.8998, allocations: 24.72 kB / 1.363 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.8998, allocations: 8.375 kB / 1.363 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-06/0.8998, allocations: 4 kB / 1.363 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8999, allocations: 37.12 kB / 1.363 GB, free: 6.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8999, allocations: 1.594 kB / 1.363 GB, free: 6.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.9, allocations: 41.58 kB / 1.363 GB, free: 6.145 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.9, allocations: 51.41 kB / 1.363 GB, free: 6.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.9002, allocations: 114 kB / 1.363 GB, free: 5.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.9002, allocations: 25.83 kB / 1.363 GB, free: 5.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.9002, allocations: 94.38 kB / 1.363 GB, free: 5.852 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.9002, allocations: 5.172 kB / 1.363 GB, free: 5.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.9003, allocations: 17.78 kB / 1.363 GB, free: 5.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9004, allocations: 321.3 kB / 1.363 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.9005, allocations: 8.828 kB / 1.364 GB, free: 5.512 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.9005, allocations: 9.281 kB / 1.364 GB, free: 5.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.9006, allocations: 29.48 kB / 1.364 GB, free: 5.492 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9006, allocations: 1.438 kB / 1.364 GB, free: 5.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/0.9008, allocations: 57.33 kB / 1.364 GB, free: 5.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.9008, allocations: 5.891 kB / 1.364 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.9008, allocations: 0 / 1.364 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.9008, allocations: 0 / 1.364 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.9009, allocations: 13.83 kB / 1.364 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9009, allocations: 7.812 kB / 1.364 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.9011, allocations: 12.45 kB / 1.364 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.9011, allocations: 1.266 kB / 1.364 GB, free: 5.445 MB / 1.045 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 7.454e-05/0.9012, allocations: 117.4 kB / 1.364 GB, free: 5.324 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.9012, allocations: 3.938 kB / 1.364 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.9012, allocations: 4.797 kB / 1.364 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9012, allocations: 1.703 kB / 1.364 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9012, allocations: 4 kB / 1.364 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9012, allocations: 4.547 kB / 1.364 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.9014, allocations: 157.3 kB / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9014, allocations: 0 / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.9014, allocations: 4.297 kB / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9014, allocations: 0 / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.9014, allocations: 1.188 kB / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9014, allocations: 0.5156 kB / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9014, allocations: 0 / 1.364 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.9015, allocations: 140.7 kB / 1.364 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.9016, allocations: 79.03 kB / 1.364 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.9016, allocations: 0.6562 kB / 1.364 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.9017, allocations: 8.062 kB / 1.364 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.9017, allocations: 5.875 kB / 1.364 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.9017, allocations: 3.938 kB / 1.364 GB, free: 4.863 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.385e-05/0.9018, allocations: 95.2 kB / 1.364 GB, free: 4.781 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9018, allocations: 4.031 kB / 1.364 GB, free: 4.777 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002328/0.902, allocations: 17.05 kB / 1.364 GB, free: 4.773 MB / 1.045 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.0004762/0.9025, allocations: 0.6791 MB / 1.365 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.9026, allocations: 21.08 kB / 1.365 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9026, allocations: 0 / 1.365 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.9027, allocations: 13 kB / 1.365 GB, free: 4.098 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.903, allocations: 13.69 kB / 1.365 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.9034, allocations: 153.3 kB / 1.365 GB, free: 3.941 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.9037, allocations: 0.6741 MB / 1.366 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.334e-05/0.9037, allocations: 11.44 kB / 1.366 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.9037, allocations: 14.09 kB / 1.366 GB, free: 3.227 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.9037, allocations: 1.219 kB / 1.366 GB, free: 3.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.9271, allocations: 1.573 MB / 1.367 GB, free: 2.867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.903, allocations: 11.38 kB / 1.367 GB, free: 2.859 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.101768597996852]