Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_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.0008467/0.0008467, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00525/0.00525, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.216/1.216, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002899, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5247, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001004/0.5258, allocations: 1.011 MB / 0.9562 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.6609, allocations: 143.8 MB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.661, allocations: 0 / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.661, allocations: 4 kB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.6611, allocations: 7.875 kB / 1.097 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.6615, allocations: 95.61 kB / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.6615, allocations: 19.88 kB / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.6616, allocations: 4 kB / 1.097 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.6616, allocations: 7.984 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.6616, allocations: 11.92 kB / 1.097 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.6616, allocations: 0 / 1.097 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.662, allocations: 183.6 kB / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.6621, allocations: 0 / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.6621, allocations: 33.64 kB / 1.097 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.6623, allocations: 118 kB / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6623, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6623, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.6623, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8575 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.0002812/0.6626, allocations: 343.5 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6626, allocations: 8.031 kB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.6627, allocations: 46.67 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000499/0.6632, allocations: 32.89 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6633, allocations: 164.1 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.6633, allocations: 0 / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.6634, allocations: 8 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.6635, allocations: 53.64 kB / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.6635, allocations: 0 / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6635, allocations: 0 / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6635, allocations: 0 / 1.098 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.6637, allocations: 19.98 kB / 1.098 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.664, allocations: 256.7 kB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.664, allocations: 26.58 kB / 1.098 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.6641, allocations: 8.922 kB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.6641, allocations: 0 / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.6641, allocations: 34.56 kB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.6641, allocations: 0 / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.6642, allocations: 45.62 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6643, allocations: 55.53 kB / 1.098 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6644, allocations: 113.8 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.6644, allocations: 25.7 kB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.6645, allocations: 88.08 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.6645, allocations: 3.906 kB / 1.098 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.6645, allocations: 21.64 kB / 1.098 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.6646, allocations: 314.8 kB / 1.099 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.6647, allocations: 15.98 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.6648, allocations: 8 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.6648, allocations: 24.78 kB / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6648, allocations: 0 / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001795/0.665, allocations: 65.59 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.665, allocations: 4 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6651, allocations: 4 kB / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.6651, allocations: 0 / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.6652, allocations: 11.98 kB / 1.099 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6652, allocations: 0 / 1.099 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.6653, allocations: 7.938 kB / 1.099 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.6653, allocations: 7.984 kB / 1.099 GB, free: 11.48 MB / 0.8575 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 6.832e-05/0.6654, allocations: 105.8 kB / 1.099 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.6654, allocations: 7.906 kB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.6655, allocations: 11.12 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6655, allocations: 0 / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6655, allocations: 0 / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6655, allocations: 4.266 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6656, allocations: 157.7 kB / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6656, allocations: 0 / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.6657, allocations: 4 kB / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6657, allocations: 0 / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.6657, allocations: 0 / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6657, allocations: 0 / 1.099 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6657, allocations: 11.97 kB / 1.099 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.6658, allocations: 139.4 kB / 1.099 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.6659, allocations: 81.09 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.6659, allocations: 0 / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.666, allocations: 4 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.666, allocations: 3.938 kB / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.666, allocations: 0 / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.6661, allocations: 95.3 kB / 1.099 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6661, allocations: 0 / 1.099 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002296/0.6663, allocations: 19.98 kB / 1.099 GB, free: 10.76 MB / 0.8575 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.0003691/0.6667, allocations: 0.6889 MB / 1.1 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.6668, allocations: 15.98 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6668, allocations: 0 / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.6668, allocations: 8 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6671, allocations: 11.92 kB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.6675, allocations: 172.1 kB / 1.1 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.6677, allocations: 0.677 MB / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.6678, allocations: 8 kB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.6678, allocations: 11.44 kB / 1.101 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.6678, allocations: 0 / 1.101 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.6778, allocations: 1.378 MB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.6781, allocations: 218 kB / 1.103 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.208, allocations: 5.312 kB / 1.103 GB, free: 7.586 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches