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.004723/0.004723, allocations: 104.7 kB / 15.74 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.001111/0.001111, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.379/2.379, allocations: 390.3 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.53 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2573, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002547/0.2599, allocations: 1.282 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.4164, allocations: 147.6 MB / 1.233 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.4165, allocations: 0 / 1.233 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.4166, allocations: 0 / 1.233 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.4167, allocations: 7.938 kB / 1.233 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.4172, allocations: 119.4 kB / 1.233 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.532e-05/0.4173, allocations: 19.88 kB / 1.233 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.4174, allocations: 0 / 1.233 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.4174, allocations: 11.92 kB / 1.233 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.4175, allocations: 11.98 kB / 1.233 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.4175, allocations: 0 / 1.233 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.4179, allocations: 171.7 kB / 1.233 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.418, allocations: 4 kB / 1.233 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.418, allocations: 11.94 kB / 1.233 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4182, allocations: 111.2 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4182, allocations: 0 / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4183, allocations: 0 / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.4183, allocations: 0 / 1.233 GB, free: 12.03 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.0003924/0.4187, allocations: 349.6 kB / 1.234 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4187, allocations: 12.03 kB / 1.234 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.4188, allocations: 30.75 kB / 1.234 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.4193, allocations: 40.8 kB / 1.234 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4195, allocations: 176.1 kB / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4195, allocations: 0 / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.4195, allocations: 4 kB / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4197, allocations: 45.66 kB / 1.234 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4197, allocations: 0 / 1.234 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4197, allocations: 7.938 kB / 1.234 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.4197, allocations: 0 / 1.234 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4198, allocations: 19.98 kB / 1.234 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.4202, allocations: 244.9 kB / 1.234 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.4203, allocations: 34.5 kB / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.4203, allocations: 12.92 kB / 1.234 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.4203, allocations: 0 / 1.234 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4203, allocations: 30.56 kB / 1.234 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4204, allocations: 3.938 kB / 1.234 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.4205, allocations: 45.69 kB / 1.234 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.4205, allocations: 55.34 kB / 1.234 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4207, allocations: 113.9 kB / 1.235 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.4207, allocations: 25.7 kB / 1.235 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4208, allocations: 92.05 kB / 1.235 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.4208, allocations: 3.906 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.4208, allocations: 17.7 kB / 1.235 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4209, allocations: 318.8 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.421, allocations: 8 kB / 1.235 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.4211, allocations: 11.98 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.4212, allocations: 29.11 kB / 1.235 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4212, allocations: 0 / 1.235 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001912/0.4214, allocations: 57.61 kB / 1.235 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4214, allocations: 8 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4214, allocations: 0 / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4214, allocations: 3.984 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4216, allocations: 8 kB / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4216, allocations: 0 / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4217, allocations: 19.86 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4217, allocations: 0 / 1.235 GB, free: 10.01 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 8.277e-05/0.4218, allocations: 113.8 kB / 1.235 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.4219, allocations: 4 kB / 1.235 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.4219, allocations: 3.125 kB / 1.235 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4219, allocations: 4 kB / 1.235 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4219, allocations: 0 / 1.235 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4219, allocations: 3.938 kB / 1.235 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.4221, allocations: 153.7 kB / 1.235 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4221, allocations: 3.938 kB / 1.235 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.4221, allocations: 4 kB / 1.235 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4221, allocations: 0 / 1.235 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4222, allocations: 4 kB / 1.235 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4222, allocations: 0 / 1.235 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4222, allocations: 0 / 1.235 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4223, allocations: 151.3 kB / 1.236 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.4223, allocations: 77.11 kB / 1.236 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4224, allocations: 0 / 1.236 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4225, allocations: 7.984 kB / 1.236 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.4225, allocations: 3.938 kB / 1.236 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.4225, allocations: 0 / 1.236 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.012e-05/0.4226, allocations: 95.3 kB / 1.236 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4226, allocations: 0 / 1.236 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002441/0.4229, allocations: 15.94 kB / 1.236 GB, free: 9.281 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.0004073/0.4233, allocations: 0.6812 MB / 1.236 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.4234, allocations: 24 kB / 1.236 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4234, allocations: 0 / 1.236 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.4235, allocations: 8 kB / 1.236 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.4238, allocations: 7.938 kB / 1.236 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4242, allocations: 160.6 kB / 1.237 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.4245, allocations: 0.6807 MB / 1.237 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.047e-05/0.4245, allocations: 8 kB / 1.237 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.4246, allocations: 7.438 kB / 1.237 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4246, allocations: 0 / 1.237 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.4412, allocations: 1.601 MB / 1.239 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.853, allocations: 10.8 kB / 1.239 GB, free: 6.125 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