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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 197 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.203/2.203, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5179, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002087/0.52, allocations: 1.281 MB / 0.951 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.6549, allocations: 147.7 MB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.655, allocations: 0 / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.6551, allocations: 3.938 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.6551, allocations: 7.938 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.6555, allocations: 115.5 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.6555, allocations: 19.86 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.6556, allocations: 8 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.6556, allocations: 4 kB / 1.095 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.081e-05/0.6557, allocations: 15.92 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.6557, allocations: 0 / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.656, allocations: 167.7 kB / 1.095 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.656, allocations: 7.938 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.6561, allocations: 11.94 kB / 1.096 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.6563, allocations: 113.9 kB / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6563, allocations: 0 / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6563, allocations: 0 / 1.096 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6563, allocations: 0 / 1.096 GB, free: 11.93 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.0002855/0.6566, allocations: 355.4 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.6566, allocations: 8.031 kB / 1.096 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.6567, allocations: 34.75 kB / 1.096 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.6572, allocations: 32.89 kB / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.6573, allocations: 168.1 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6573, allocations: 4 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.6573, allocations: 4 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6575, allocations: 49.61 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.6575, allocations: 0 / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6575, allocations: 3.984 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6575, allocations: 0 / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.6577, allocations: 15.98 kB / 1.096 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.658, allocations: 256.8 kB / 1.097 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.919e-05/0.658, allocations: 22.56 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.6581, allocations: 12.92 kB / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.6581, allocations: 0 / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.6581, allocations: 38.5 kB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.6581, allocations: 4 kB / 1.097 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.6583, allocations: 37.7 kB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.6583, allocations: 55.39 kB / 1.097 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.6584, allocations: 117.7 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.6585, allocations: 25.7 kB / 1.097 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.6585, allocations: 84.08 kB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.6585, allocations: 7.906 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.6586, allocations: 21.83 kB / 1.097 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.6587, allocations: 318.8 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.6587, allocations: 8 kB / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.6588, allocations: 15.92 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.283e-05/0.6589, allocations: 25.11 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6589, allocations: 0 / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001848/0.6591, allocations: 65.58 kB / 1.097 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6591, allocations: 4 kB / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6591, allocations: 0 / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6591, allocations: 0 / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.6592, allocations: 11.98 kB / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.6592, allocations: 0 / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.6594, allocations: 15.86 kB / 1.097 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.6594, allocations: 8 kB / 1.097 GB, free: 9.906 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.238e-05/0.6595, allocations: 109.8 kB / 1.097 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.6595, allocations: 7.984 kB / 1.097 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.6595, allocations: 7.125 kB / 1.097 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6595, allocations: 4 kB / 1.097 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6595, allocations: 0 / 1.097 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6596, allocations: 3.938 kB / 1.097 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.6597, allocations: 153.7 kB / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6597, allocations: 0 / 1.098 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.6597, allocations: 4 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6597, allocations: 4 kB / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.6597, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6597, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6598, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.6598, allocations: 135.5 kB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.6599, allocations: 81.11 kB / 1.098 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.6599, allocations: 0 / 1.098 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.66, allocations: 8.016 kB / 1.098 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.66, allocations: 11.88 kB / 1.098 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.66, allocations: 3.938 kB / 1.098 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.6601, allocations: 91.27 kB / 1.098 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6601, allocations: 0 / 1.098 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002352/0.6604, allocations: 16 kB / 1.098 GB, free: 9.184 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.0003722/0.6608, allocations: 0.6812 MB / 1.099 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.6609, allocations: 23.91 kB / 1.099 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6609, allocations: 4 kB / 1.099 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.6609, allocations: 8 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.6612, allocations: 12.03 kB / 1.099 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.6616, allocations: 148.9 kB / 1.099 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.6619, allocations: 0.6729 MB / 1.099 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.6619, allocations: 11.92 kB / 1.1 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.662, allocations: 11.44 kB / 1.1 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.662, allocations: 0 / 1.1 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/2.02, allocations: 1.555 MB / 1.101 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/13.13, allocations: 12.42 kB / 1.101 GB, free: 6.047 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