Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_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.008376/0.008376, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.001905/0.001905, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003484/0.2934, allocations: 1.289 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7999/1.093, allocations: 147.6 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/1.093, allocations: 1.094 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/1.094, allocations: 4.594 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/1.094, allocations: 5.703 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/1.094, allocations: 122.6 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/1.094, allocations: 21.06 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/1.094, allocations: 2.875 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/1.094, allocations: 4.094 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/1.094, allocations: 9.391 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/1.094, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/1.095, allocations: 175.6 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/1.095, allocations: 1.25 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/1.095, allocations: 10.88 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/1.095, allocations: 116.2 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.095, allocations: 0.5625 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/1.095, allocations: 4 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.095, allocations: 3.156 kB / 1.312 GB, free: 12.33 MB / 1.014 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.0003917/1.096, allocations: 351.7 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.096, allocations: 10.94 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/1.096, allocations: 30.75 kB / 1.312 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/1.097, allocations: 43.55 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.097, allocations: 166.8 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.097, allocations: 3.938 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/1.097, allocations: 1.219 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.097, allocations: 48.03 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.097, allocations: 1.406 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.097, allocations: 0 / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.097, allocations: 4.641 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/1.097, allocations: 23.88 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/1.097, allocations: 255 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/1.098, allocations: 25.34 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/1.098, allocations: 12.31 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/1.098, allocations: 1.188 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.098, allocations: 35.08 kB / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/1.098, allocations: 5.062 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/1.098, allocations: 39.62 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.098, allocations: 54.02 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/1.098, allocations: 109.5 kB / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/1.098, allocations: 25.7 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/1.098, allocations: 96.78 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/1.098, allocations: 5.672 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/1.098, allocations: 17.52 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.098, allocations: 320.2 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/1.098, allocations: 9.75 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/1.098, allocations: 9.812 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/1.099, allocations: 29.55 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.099, allocations: 1.312 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/1.099, allocations: 57.86 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.099, allocations: 3.562 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.099, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.099, allocations: 4.109 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/1.099, allocations: 9.484 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.099, allocations: 3.562 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.099, allocations: 13.62 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/1.099, allocations: 4.625 kB / 1.314 GB, free: 10.62 MB / 1.014 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 0.0001372/1.099, allocations: 106.5 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/1.099, allocations: 0.6094 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/1.099, allocations: 11.31 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.099, allocations: 3.938 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.099, allocations: 0 / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.099, allocations: 16.47 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.099, allocations: 152.6 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.099, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/1.1, allocations: 6.844 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.1, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.1, allocations: 2.156 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.1, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.1, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.1, allocations: 140 kB / 1.314 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/1.1, allocations: 78.23 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.1, allocations: 2.953 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/1.1, allocations: 2.672 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/1.1, allocations: 1.812 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/1.1, allocations: 5.031 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001005/1.1, allocations: 91.36 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.1, allocations: 7.875 kB / 1.314 GB, free: 9.969 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002595/1.1, allocations: 23.5 kB / 1.314 GB, free: 9.961 MB / 1.014 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.0004934/1.101, allocations: 0.673 MB / 1.315 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001622/1.101, allocations: 21.25 kB / 1.315 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.101, allocations: 4.031 kB / 1.315 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/1.101, allocations: 7.938 kB / 1.315 GB, free: 9.297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/1.101, allocations: 18.05 kB / 1.315 GB, free: 9.293 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/1.102, allocations: 152.7 kB / 1.315 GB, free: 9.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.102, allocations: 0.675 MB / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.43e-05/1.102, allocations: 11.39 kB / 1.316 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/1.102, allocations: 9.359 kB / 1.316 GB, free: 8.434 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.102, allocations: 4 kB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/1.121, allocations: 1.594 MB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/9.006, allocations: 5.078 kB / 1.318 GB, free: 8.055 MB / 1.014 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches