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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00556/0.00556, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001087/0.001087, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.73 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002119/0.2588, allocations: 1.293 MB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.153/0.4118, allocations: 147.6 MB / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.4119, allocations: 4 kB / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.4119, allocations: 0 / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.412, allocations: 7.922 kB / 1.233 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.4125, allocations: 119.4 kB / 1.233 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.4126, allocations: 31.86 kB / 1.233 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.4127, allocations: 0 / 1.233 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.4127, allocations: 11.88 kB / 1.233 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.4127, allocations: 4 kB / 1.233 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4128, allocations: 0 / 1.233 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.4132, allocations: 175.7 kB / 1.233 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.4132, allocations: 3.938 kB / 1.233 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.4132, allocations: 11.97 kB / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.4135, allocations: 99.22 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4135, allocations: 4 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4135, allocations: 4 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4135, allocations: 0 / 1.233 GB, free: 12.02 MB / 0.9981 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.0003631/0.4139, allocations: 351.7 kB / 1.234 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4139, allocations: 12.03 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.414, allocations: 38.69 kB / 1.234 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.4145, allocations: 36.8 kB / 1.234 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.4147, allocations: 168.1 kB / 1.234 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4147, allocations: 4 kB / 1.234 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4147, allocations: 0 / 1.234 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4149, allocations: 53.59 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4149, allocations: 0 / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.415, allocations: 0 / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.415, allocations: 0 / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4151, allocations: 23.97 kB / 1.234 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.4155, allocations: 252.8 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.4155, allocations: 22.58 kB / 1.234 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.4156, allocations: 8.922 kB / 1.234 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.4156, allocations: 0 / 1.234 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4156, allocations: 42.55 kB / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4156, allocations: 0 / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.4158, allocations: 41.64 kB / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4158, allocations: 55.41 kB / 1.234 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.416, allocations: 109.8 kB / 1.235 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.416, allocations: 25.7 kB / 1.235 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.416, allocations: 88.03 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.4161, allocations: 12.03 kB / 1.235 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.4161, allocations: 21.7 kB / 1.235 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.4162, allocations: 310.8 kB / 1.235 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.4163, allocations: 11.98 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.4164, allocations: 11.98 kB / 1.235 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.4164, allocations: 16.84 kB / 1.235 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4165, allocations: 8 kB / 1.235 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002015/0.4167, allocations: 57.89 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4167, allocations: 9.969 kB / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4167, allocations: 0 / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4167, allocations: 4.047 kB / 1.235 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4168, allocations: 11.97 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4168, allocations: 0 / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.417, allocations: 31.86 kB / 1.235 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.417, allocations: 0 / 1.235 GB, free: 9.98 MB / 0.9981 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.324e-05/0.4171, allocations: 105.8 kB / 1.235 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4171, allocations: 4 kB / 1.235 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.4171, allocations: 3.125 kB / 1.235 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4171, allocations: 0 / 1.235 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4172, allocations: 0 / 1.235 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4172, allocations: 7.875 kB / 1.235 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4173, allocations: 157.7 kB / 1.235 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4173, allocations: 7.984 kB / 1.235 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.4174, allocations: 4 kB / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4174, allocations: 0 / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.4174, allocations: 0 / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4174, allocations: 0 / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4174, allocations: 0 / 1.235 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.4175, allocations: 143.3 kB / 1.236 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.4175, allocations: 85.09 kB / 1.236 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4176, allocations: 4.031 kB / 1.236 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.4177, allocations: 4 kB / 1.236 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.4177, allocations: 3.938 kB / 1.236 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.4177, allocations: 0 / 1.236 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.042e-05/0.4178, allocations: 91.27 kB / 1.236 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4178, allocations: 0 / 1.236 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000241/0.418, allocations: 12 kB / 1.236 GB, free: 9.266 MB / 0.9981 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.0004463/0.4185, allocations: 0.6851 MB / 1.236 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.4186, allocations: 19.98 kB / 1.236 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4187, allocations: 0 / 1.236 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.4187, allocations: 8.031 kB / 1.236 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.419, allocations: 11.92 kB / 1.236 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4195, allocations: 160.6 kB / 1.237 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.4197, allocations: 0.6768 MB / 1.237 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.4198, allocations: 12 kB / 1.237 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.4198, allocations: 11.42 kB / 1.237 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.4198, allocations: 0 / 1.237 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.4362, allocations: 1.596 MB / 1.239 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.634, allocations: 12.2 kB / 1.239 GB, free: 6.105 MB / 0.9981 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