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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.006655/0.006655, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001519/0.001519, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 482.4 MB / 0.7548 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 69.22 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002283/0.3201, allocations: 1.287 MB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.4983, allocations: 147.7 MB / 1.387 GB, free: 3.77 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.4984, allocations: 3.938 kB / 1.387 GB, free: 3.766 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.4984, allocations: 0 / 1.387 GB, free: 3.766 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.4985, allocations: 11.92 kB / 1.387 GB, free: 3.754 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.499, allocations: 111.5 kB / 1.387 GB, free: 3.645 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.499, allocations: 15.88 kB / 1.387 GB, free: 3.629 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.4991, allocations: 4 kB / 1.387 GB, free: 3.625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.235e-05/0.4991, allocations: 7.984 kB / 1.387 GB, free: 3.617 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.4992, allocations: 15.94 kB / 1.387 GB, free: 3.602 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.4992, allocations: 0 / 1.387 GB, free: 3.602 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.4996, allocations: 175.6 kB / 1.387 GB, free: 3.43 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4997, allocations: 3.984 kB / 1.387 GB, free: 3.426 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.4997, allocations: 11.94 kB / 1.387 GB, free: 3.414 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.4999, allocations: 107.9 kB / 1.387 GB, free: 3.309 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4999, allocations: 0 / 1.387 GB, free: 3.309 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4999, allocations: 0 / 1.387 GB, free: 3.309 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5, allocations: 0 / 1.387 GB, free: 3.309 MB / 1.107 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.0003759/0.5003, allocations: 355.2 kB / 1.388 GB, free: 2.914 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5004, allocations: 8.031 kB / 1.388 GB, free: 2.906 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.5004, allocations: 38.73 kB / 1.388 GB, free: 2.859 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.5009, allocations: 36.84 kB / 1.388 GB, free: 2.824 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5011, allocations: 168.1 kB / 1.388 GB, free: 2.621 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.5011, allocations: 0 / 1.388 GB, free: 2.621 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.5011, allocations: 4 kB / 1.388 GB, free: 2.617 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5013, allocations: 57.59 kB / 1.388 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5013, allocations: 0 / 1.388 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5013, allocations: 0 / 1.388 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5014, allocations: 0 / 1.388 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.5015, allocations: 19.98 kB / 1.388 GB, free: 2.535 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.5019, allocations: 252.9 kB / 1.388 GB, free: 2.238 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.5019, allocations: 22.58 kB / 1.388 GB, free: 2.207 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.502, allocations: 12.86 kB / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.502, allocations: 4 kB / 1.388 GB, free: 2.188 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.502, allocations: 34.56 kB / 1.388 GB, free: 2.145 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.502, allocations: 0 / 1.388 GB, free: 2.145 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.5022, allocations: 45.69 kB / 1.388 GB, free: 2.094 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.5022, allocations: 51.41 kB / 1.388 GB, free: 2.031 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5024, allocations: 113.8 kB / 1.389 GB, free: 1.91 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.5024, allocations: 29.64 kB / 1.389 GB, free: 1.875 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.5025, allocations: 88.09 kB / 1.389 GB, free: 1.785 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.5025, allocations: 11.94 kB / 1.389 GB, free: 1.773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.5026, allocations: 21.69 kB / 1.389 GB, free: 1.746 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5027, allocations: 319 kB / 1.389 GB, free: 1.426 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.5028, allocations: 11.92 kB / 1.389 GB, free: 1.414 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.5028, allocations: 8 kB / 1.389 GB, free: 1.406 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.503, allocations: 25.11 kB / 1.389 GB, free: 1.379 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.503, allocations: 0 / 1.389 GB, free: 1.379 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002025/0.5032, allocations: 65.66 kB / 1.389 GB, free: 1.309 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5032, allocations: 4 kB / 1.389 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5032, allocations: 0 / 1.389 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5032, allocations: 0 / 1.389 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5033, allocations: 11.98 kB / 1.389 GB, free: 1.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5034, allocations: 3.938 kB / 1.389 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5035, allocations: 7.938 kB / 1.389 GB, free: 1.281 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5035, allocations: 7.984 kB / 1.389 GB, free: 1.273 MB / 1.107 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.683e-05/0.5036, allocations: 110.4 kB / 1.389 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.5036, allocations: 4 kB / 1.389 GB, free: 1.152 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.5037, allocations: 7.125 kB / 1.389 GB, free: 1.148 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.5037, allocations: 0 / 1.389 GB, free: 1.148 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5037, allocations: 3.938 kB / 1.389 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5037, allocations: 3.938 kB / 1.389 GB, free: 1.141 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5039, allocations: 157.6 kB / 1.389 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5039, allocations: 0 / 1.389 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.5039, allocations: 4 kB / 1.389 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5039, allocations: 4 kB / 1.389 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.5039, allocations: 0 / 1.389 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5039, allocations: 3.984 kB / 1.389 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5039, allocations: 0 / 1.389 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.5041, allocations: 139.4 kB / 1.39 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.5041, allocations: 77.11 kB / 1.39 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.5042, allocations: 3.984 kB / 1.39 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5043, allocations: 8.031 kB / 1.39 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.5043, allocations: 3.938 kB / 1.39 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5043, allocations: 0 / 1.39 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001042/0.5044, allocations: 95.2 kB / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5044, allocations: 0 / 1.39 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002433/0.5047, allocations: 15.94 kB / 1.39 GB, free: 0.5547 MB / 1.107 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.0005665/0.5052, allocations: 0.6812 MB / 1.39 GB, free: 15.85 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.5054, allocations: 19.92 kB / 1.39 GB, free: 15.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5054, allocations: 4 kB / 1.39 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.5054, allocations: 8 kB / 1.39 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.5057, allocations: 16.02 kB / 1.39 GB, free: 15.8 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.5062, allocations: 144.9 kB / 1.391 GB, free: 15.62 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5065, allocations: 0.6768 MB / 1.391 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.094e-05/0.5066, allocations: 11.94 kB / 1.391 GB, free: 14.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.5066, allocations: 7.438 kB / 1.391 GB, free: 14.89 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/0.5066, allocations: 4 kB / 1.391 GB, free: 14.89 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.5285, allocations: 1.59 MB / 1.393 GB, free: 13.44 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.345, allocations: 12.22 kB / 1.393 GB, free: 13.43 MB / 1.123 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 400 --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