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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006624/0.006623, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001115/0.001116, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002584/0.3003, allocations: 1.287 MB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8026/1.103, allocations: 147.6 MB / 1.353 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/1.103, allocations: 0 / 1.353 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/1.103, allocations: 1.641 kB / 1.353 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/1.103, allocations: 9.438 kB / 1.353 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/1.104, allocations: 120.8 kB / 1.353 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/1.104, allocations: 18.28 kB / 1.353 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/1.104, allocations: 6.875 kB / 1.353 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/1.104, allocations: 4.203 kB / 1.353 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/1.104, allocations: 13.42 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/1.104, allocations: 2.938 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/1.105, allocations: 173.1 kB / 1.353 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/1.105, allocations: 4 kB / 1.353 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/1.105, allocations: 13.12 kB / 1.353 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/1.106, allocations: 115.2 kB / 1.353 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.106, allocations: 0 / 1.353 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.106, allocations: 0 / 1.353 GB, free: 14.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.106, allocations: 1.125 kB / 1.353 GB, free: 14.16 MB / 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.0005364/1.106, allocations: 351.7 kB / 1.353 GB, free: 13.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.106, allocations: 10.83 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/1.107, allocations: 30.75 kB / 1.354 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/1.107, allocations: 39.38 kB / 1.354 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/1.107, allocations: 162.5 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.107, allocations: 4.688 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/1.107, allocations: 1.312 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/1.108, allocations: 49.11 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.108, allocations: 2.297 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.108, allocations: 4 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.108, allocations: 1.312 kB / 1.354 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/1.108, allocations: 20.41 kB / 1.354 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/1.108, allocations: 251.7 kB / 1.354 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/1.108, allocations: 25.39 kB / 1.354 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/1.109, allocations: 17.55 kB / 1.354 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/1.109, allocations: 0 / 1.354 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.109, allocations: 32.5 kB / 1.354 GB, free: 13.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.109, allocations: 0 / 1.354 GB, free: 13.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/1.109, allocations: 48.75 kB / 1.354 GB, free: 13.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.109, allocations: 52.72 kB / 1.354 GB, free: 13.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/1.109, allocations: 116.6 kB / 1.354 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/1.109, allocations: 27.59 kB / 1.354 GB, free: 12.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/1.109, allocations: 84.88 kB / 1.354 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/1.109, allocations: 9.281 kB / 1.354 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/1.109, allocations: 19.23 kB / 1.354 GB, free: 12.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.109, allocations: 316.9 kB / 1.355 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/1.109, allocations: 12.86 kB / 1.355 GB, free: 12.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/1.109, allocations: 14.86 kB / 1.355 GB, free: 12.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/1.11, allocations: 25.14 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.11, allocations: 0 / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002032/1.11, allocations: 58.16 kB / 1.355 GB, free: 12.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.11, allocations: 5.625 kB / 1.355 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.11, allocations: 5.906 kB / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.11, allocations: 5.25 kB / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.11, allocations: 10.36 kB / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.11, allocations: 0 / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.11, allocations: 11.73 kB / 1.355 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.11, allocations: 2.625 kB / 1.355 GB, free: 12.41 MB / 1.061 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.628e-05/1.11, allocations: 107.8 kB / 1.355 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/1.11, allocations: 5.25 kB / 1.355 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/1.11, allocations: 14.2 kB / 1.355 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.11, allocations: 0 / 1.355 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.11, allocations: 0 / 1.355 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.11, allocations: 5.375 kB / 1.355 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/1.111, allocations: 152.2 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.111, allocations: 1.719 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/1.111, allocations: 7.906 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.111, allocations: 0 / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/1.111, allocations: 0.75 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.111, allocations: 1.375 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.111, allocations: 0.5 kB / 1.355 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/1.111, allocations: 139.3 kB / 1.355 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.111, allocations: 79.94 kB / 1.355 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.111, allocations: 1.344 kB / 1.355 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.111, allocations: 3.5 kB / 1.355 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/1.111, allocations: 2.141 kB / 1.355 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/1.111, allocations: 7.875 kB / 1.355 GB, free: 11.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.306e-05/1.111, allocations: 95.5 kB / 1.356 GB, free: 11.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 1.356 GB, free: 11.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002572/1.111, allocations: 12.91 kB / 1.356 GB, free: 11.75 MB / 1.061 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.0004633/1.112, allocations: 0.6858 MB / 1.356 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000148/1.112, allocations: 20.3 kB / 1.356 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.112, allocations: 1.062 kB / 1.356 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/1.112, allocations: 8.797 kB / 1.356 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.112, allocations: 16.61 kB / 1.356 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/1.113, allocations: 152.5 kB / 1.356 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/1.113, allocations: 0.6794 MB / 1.357 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.476e-05/1.113, allocations: 11.75 kB / 1.357 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/1.113, allocations: 10.17 kB / 1.357 GB, free: 10.2 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.113, allocations: 0 / 1.357 GB, free: 10.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/1.132, allocations: 1.611 MB / 1.359 GB, free: 9.855 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.935, allocations: 8.859 kB / 1.359 GB, free: 9.848 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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