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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008795/0.008795, allocations: 101.1 kB / 15.73 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 195.7 kB / 16.67 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.848/2.848, allocations: 469.4 MB / 0.7421 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.12 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2729, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002537/0.2755, allocations: 1.284 MB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7718/1.047, allocations: 147.6 MB / 1.365 GB, free: 356 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/1.047, allocations: 0 / 1.365 GB, free: 356 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/1.047, allocations: 0.5625 kB / 1.365 GB, free: 356 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/1.047, allocations: 9.859 kB / 1.365 GB, free: 348 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/1.048, allocations: 116.9 kB / 1.365 GB, free: 292 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/1.048, allocations: 26.56 kB / 1.365 GB, free: 276 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/1.048, allocations: 3.703 kB / 1.365 GB, free: 276 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/1.048, allocations: 8.547 kB / 1.365 GB, free: 272 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/1.048, allocations: 9.5 kB / 1.365 GB, free: 268 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/1.048, allocations: 0 / 1.365 GB, free: 268 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/1.049, allocations: 175.3 kB / 1.366 GB, free: 216 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/1.049, allocations: 1.984 kB / 1.366 GB, free: 216 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/1.049, allocations: 9.094 kB / 1.366 GB, free: 212 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/1.049, allocations: 108 kB / 1.366 GB, free: 188 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.049, allocations: 3.938 kB / 1.366 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.049, allocations: 0 / 1.366 GB, free: 184 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.049, allocations: 5.062 kB / 1.366 GB, free: 180 kB / 1.061 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.0004013/1.05, allocations: 354.3 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.05, allocations: 11.19 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/1.05, allocations: 34.75 kB / 1.366 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/1.05, allocations: 38.19 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/1.051, allocations: 163.2 kB / 1.366 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.051, allocations: 7.938 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/1.051, allocations: 1.281 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.051, allocations: 53.7 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/1.051, allocations: 0 / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.051, allocations: 0 / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.051, allocations: 1.156 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/1.051, allocations: 20.8 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/1.051, allocations: 260.1 kB / 1.367 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/1.051, allocations: 20.78 kB / 1.367 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/1.051, allocations: 14.55 kB / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/1.051, allocations: 0 / 1.367 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/1.051, allocations: 35.88 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.051, allocations: 0 / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/1.052, allocations: 47 kB / 1.367 GB, free: 15.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.052, allocations: 52.72 kB / 1.367 GB, free: 15.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/1.052, allocations: 108.6 kB / 1.367 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/1.052, allocations: 25.7 kB / 1.367 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/1.052, allocations: 86.16 kB / 1.367 GB, free: 14.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/1.052, allocations: 5.984 kB / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/1.052, allocations: 26.11 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.052, allocations: 317 kB / 1.367 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/1.052, allocations: 8.547 kB / 1.367 GB, free: 14.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/1.052, allocations: 14.41 kB / 1.367 GB, free: 14.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/1.052, allocations: 21.64 kB / 1.367 GB, free: 14.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.052, allocations: 9.406 kB / 1.367 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002102/1.053, allocations: 56.61 kB / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.053, allocations: 4.25 kB / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.053, allocations: 3.844 kB / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.053, allocations: 0 / 1.367 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.053, allocations: 14.45 kB / 1.367 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.053, allocations: 3.938 kB / 1.367 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/1.053, allocations: 16.2 kB / 1.367 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.053, allocations: 1.75 kB / 1.367 GB, free: 14.41 MB / 1.076 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.974e-05/1.053, allocations: 108.1 kB / 1.367 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.053, allocations: 6.984 kB / 1.367 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/1.053, allocations: 7.734 kB / 1.368 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.053, allocations: 1.656 kB / 1.368 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.053, allocations: 0 / 1.368 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.053, allocations: 4.547 kB / 1.368 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/1.053, allocations: 148.5 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.053, allocations: 4.75 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/1.053, allocations: 7.594 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.053, allocations: 0.9844 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/1.053, allocations: 2.281 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.053, allocations: 0 / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.053, allocations: 0.7969 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/1.054, allocations: 135.4 kB / 1.368 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/1.054, allocations: 91.38 kB / 1.368 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/1.054, allocations: 1.766 kB / 1.368 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.054, allocations: 3.688 kB / 1.368 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/1.054, allocations: 0 / 1.368 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/1.054, allocations: 5.734 kB / 1.368 GB, free: 13.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001035/1.054, allocations: 91.89 kB / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/1.054, allocations: 0 / 1.368 GB, free: 13.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002762/1.054, allocations: 15.59 kB / 1.368 GB, free: 13.76 MB / 1.076 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.0004885/1.055, allocations: 0.6823 MB / 1.369 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000154/1.055, allocations: 20.19 kB / 1.369 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.055, allocations: 1.281 kB / 1.369 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/1.055, allocations: 11.62 kB / 1.369 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/1.055, allocations: 18.19 kB / 1.369 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/1.056, allocations: 155.8 kB / 1.369 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/1.056, allocations: 0.6746 MB / 1.37 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.867e-05/1.056, allocations: 11.23 kB / 1.37 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/1.056, allocations: 12.23 kB / 1.37 GB, free: 12.2 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/1.056, allocations: 0 / 1.37 GB, free: 12.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/1.074, allocations: 1.599 MB / 1.371 GB, free: 11.85 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.897, allocations: 11.05 kB / 1.371 GB, free: 11.85 MB / 1.076 GB (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 50 --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) 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) Reference file matches