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.001395/0.0014, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001475/0.001475, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 69.98 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2905, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003067/0.2937, allocations: 1.34 MB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.4511, allocations: 145.5 MB / 1.196 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.4512, allocations: 0 / 1.196 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.4513, allocations: 11.94 kB / 1.196 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.4514, allocations: 3.984 kB / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.4518, allocations: 99.56 kB / 1.196 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.4519, allocations: 27.86 kB / 1.196 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.4519, allocations: 0 / 1.196 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.452, allocations: 7.938 kB / 1.196 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.452, allocations: 7.984 kB / 1.196 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.452, allocations: 0 / 1.196 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.4524, allocations: 183.7 kB / 1.196 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.4525, allocations: 7.938 kB / 1.196 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.4525, allocations: 4 kB / 1.196 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.4527, allocations: 108 kB / 1.196 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4527, allocations: 0 / 1.196 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4527, allocations: 0 / 1.196 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.4527, allocations: 4 kB / 1.196 GB, free: 4.789 MB / 0.9512 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.0003346/0.4531, allocations: 347.5 kB / 1.197 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4531, allocations: 12.62 kB / 1.197 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.4532, allocations: 34.75 kB / 1.197 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.4537, allocations: 40.8 kB / 1.197 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4539, allocations: 172.1 kB / 1.197 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4539, allocations: 0 / 1.197 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.4539, allocations: 4 kB / 1.197 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4541, allocations: 49.61 kB / 1.197 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4541, allocations: 3.938 kB / 1.197 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4541, allocations: 4 kB / 1.197 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4541, allocations: 0 / 1.197 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.4542, allocations: 23.97 kB / 1.197 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4546, allocations: 244.9 kB / 1.197 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.4547, allocations: 30.58 kB / 1.197 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.4547, allocations: 12.84 kB / 1.197 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.4547, allocations: 4 kB / 1.197 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4547, allocations: 34.56 kB / 1.197 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4548, allocations: 0 / 1.197 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.4549, allocations: 33.7 kB / 1.197 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4549, allocations: 55.53 kB / 1.197 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4551, allocations: 125.8 kB / 1.197 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4551, allocations: 25.7 kB / 1.197 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.4551, allocations: 84.05 kB / 1.198 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.4552, allocations: 11.84 kB / 1.198 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.4552, allocations: 21.7 kB / 1.198 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4553, allocations: 314.8 kB / 1.198 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.4554, allocations: 11.98 kB / 1.198 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.4555, allocations: 11.98 kB / 1.198 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.4555, allocations: 20.84 kB / 1.198 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4556, allocations: 0 / 1.198 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.4557, allocations: 57.67 kB / 1.198 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4558, allocations: 4 kB / 1.198 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4558, allocations: 4 kB / 1.198 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.4558, allocations: 0 / 1.198 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4559, allocations: 11.98 kB / 1.198 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.4559, allocations: 3.938 kB / 1.198 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4561, allocations: 11.92 kB / 1.198 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4561, allocations: 8 kB / 1.198 GB, free: 2.758 MB / 0.9512 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.72e-05/0.4562, allocations: 107.4 kB / 1.198 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4562, allocations: 4 kB / 1.198 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.4562, allocations: 11.11 kB / 1.198 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4562, allocations: 0 / 1.198 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4563, allocations: 0 / 1.198 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4563, allocations: 3.938 kB / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4564, allocations: 157.6 kB / 1.198 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4564, allocations: 0 / 1.198 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.4565, allocations: 4 kB / 1.198 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4565, allocations: 0 / 1.198 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4565, allocations: 0 / 1.198 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4565, allocations: 0 / 1.198 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4565, allocations: 4 kB / 1.198 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.4566, allocations: 151.3 kB / 1.198 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.4566, allocations: 81.05 kB / 1.199 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4567, allocations: 0 / 1.199 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4568, allocations: 12 kB / 1.199 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.4568, allocations: 7.922 kB / 1.199 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4568, allocations: 4.031 kB / 1.199 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.4569, allocations: 87.27 kB / 1.199 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4569, allocations: 0 / 1.199 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002535/0.4572, allocations: 20 kB / 1.199 GB, free: 2.027 MB / 0.9512 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.0004014/0.4576, allocations: 0.6735 MB / 1.199 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.4577, allocations: 23.92 kB / 1.199 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4578, allocations: 0 / 1.199 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.4578, allocations: 11.92 kB / 1.199 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4581, allocations: 7.938 kB / 1.199 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.4586, allocations: 156.9 kB / 1.199 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.4588, allocations: 0.6729 MB / 1.2 GB, free: 404 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.128e-05/0.4589, allocations: 12.55 kB / 1.2 GB, free: 392 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4589, allocations: 15.42 kB / 1.2 GB, free: 376 kB / 0.9512 GB Notification: Performance of SimCode: time 1.653e-06/0.4589, allocations: 0 / 1.2 GB, free: 376 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.848/3.307, allocations: 1.493 MB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/3.307, allocations: 226.8 kB / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/5.18, allocations: 3.938 kB / 1.202 GB, free: 14.78 MB / 0.9669 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