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.005554/0.005554, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001239/0.001239, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.62 kB / 0.9504 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2556, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002434/0.2581, allocations: 1.284 MB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.4151, allocations: 147.6 MB / 1.233 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.4152, allocations: 0 / 1.233 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.4153, allocations: 0 / 1.233 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.4153, allocations: 15.91 kB / 1.233 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.4159, allocations: 115.4 kB / 1.233 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.416, allocations: 23.92 kB / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.4161, allocations: 0 / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.4161, allocations: 11.88 kB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.4162, allocations: 4 kB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4162, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.4168, allocations: 179.7 kB / 1.233 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.4168, allocations: 3.938 kB / 1.233 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.4168, allocations: 4 kB / 1.233 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.4171, allocations: 111.9 kB / 1.233 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4171, allocations: 4 kB / 1.233 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4172, allocations: 7.938 kB / 1.233 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4172, allocations: 0 / 1.233 GB, free: 12.16 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.0004673/0.4176, allocations: 349.1 kB / 1.234 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4177, allocations: 12.03 kB / 1.234 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.4178, allocations: 34.75 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.4184, allocations: 36.89 kB / 1.234 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4186, allocations: 176 kB / 1.234 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4186, allocations: 4 kB / 1.234 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4186, allocations: 3.938 kB / 1.234 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.4188, allocations: 45.67 kB / 1.234 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4189, allocations: 0 / 1.234 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4189, allocations: 0 / 1.234 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4189, allocations: 0 / 1.234 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.419, allocations: 23.97 kB / 1.234 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4195, allocations: 248.9 kB / 1.234 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/0.4196, allocations: 30.5 kB / 1.234 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.4196, allocations: 8.922 kB / 1.234 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4196, allocations: 4 kB / 1.234 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4197, allocations: 34.56 kB / 1.234 GB, free: 11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.4197, allocations: 0 / 1.234 GB, free: 11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/0.4199, allocations: 41.66 kB / 1.234 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4199, allocations: 59.34 kB / 1.234 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4201, allocations: 113.8 kB / 1.235 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4201, allocations: 25.7 kB / 1.235 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.4202, allocations: 84.27 kB / 1.235 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.4202, allocations: 7.953 kB / 1.235 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.4203, allocations: 21.7 kB / 1.235 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4204, allocations: 310.8 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.4205, allocations: 7.984 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.4206, allocations: 15.98 kB / 1.235 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4207, allocations: 24.84 kB / 1.235 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4207, allocations: 4 kB / 1.235 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.4209, allocations: 53.95 kB / 1.235 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.421, allocations: 7.938 kB / 1.235 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.421, allocations: 48 / 1.235 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.421, allocations: 7.984 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4211, allocations: 11.98 kB / 1.235 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4211, allocations: 0 / 1.235 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.4213, allocations: 23.88 kB / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4213, allocations: 0 / 1.235 GB, free: 10.13 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 0.000116/0.4215, allocations: 107.8 kB / 1.235 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.4215, allocations: 4 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.4215, allocations: 15.05 kB / 1.235 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4215, allocations: 0 / 1.235 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4216, allocations: 3.938 kB / 1.235 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4216, allocations: 7.938 kB / 1.235 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.4218, allocations: 149.7 kB / 1.235 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4218, allocations: 0 / 1.235 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.4218, allocations: 4 kB / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4218, allocations: 0 / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4218, allocations: 0 / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4218, allocations: 0 / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4218, allocations: 0 / 1.235 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.422, allocations: 147.4 kB / 1.236 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.4221, allocations: 81.11 kB / 1.236 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4221, allocations: 0 / 1.236 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.4222, allocations: 4 kB / 1.236 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.4222, allocations: 7.922 kB / 1.236 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.4222, allocations: 0 / 1.236 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001087/0.4224, allocations: 91.27 kB / 1.236 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4224, allocations: 0 / 1.236 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002702/0.4226, allocations: 15.94 kB / 1.236 GB, free: 9.41 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.0005999/0.4233, allocations: 0.6889 MB / 1.236 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.4234, allocations: 23.97 kB / 1.236 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4235, allocations: 4.031 kB / 1.236 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.4235, allocations: 4 kB / 1.236 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4239, allocations: 11.94 kB / 1.236 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.4244, allocations: 156.6 kB / 1.237 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4248, allocations: 0.6729 MB / 1.237 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.31e-05/0.4249, allocations: 11.98 kB / 1.237 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.425, allocations: 11.44 kB / 1.237 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.425, allocations: 0 / 1.237 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.4418, allocations: 1.596 MB / 1.239 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.841, allocations: 5.547 kB / 1.239 GB, free: 6.254 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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