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.001137/0.001137, 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.001174/0.001174, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.367/2.367, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 71.89 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.6584, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00287/0.6613, allocations: 1.277 MB / 0.951 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.8185, allocations: 147.6 MB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.8186, allocations: 4 kB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.8186, allocations: 0 / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.8187, allocations: 11.86 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.8192, allocations: 119.4 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.8193, allocations: 23.86 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.8193, allocations: 0 / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.8194, allocations: 8 kB / 1.095 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.8194, allocations: 7.938 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.8194, allocations: 0 / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.8199, allocations: 171.7 kB / 1.095 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.8199, allocations: 0 / 1.095 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.8199, allocations: 15.92 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.8201, allocations: 106 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8202, allocations: 4 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8202, allocations: 7.938 kB / 1.096 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.8202, allocations: 0 / 1.096 GB, free: 11.94 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.0003175/0.8205, allocations: 351.4 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.8205, allocations: 12.03 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.8206, allocations: 30.75 kB / 1.096 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.8212, allocations: 36.89 kB / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.8213, allocations: 164.1 kB / 1.096 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.8213, allocations: 4 kB / 1.096 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.8213, allocations: 7.984 kB / 1.096 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.8215, allocations: 45.66 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.8215, allocations: 0 / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8215, allocations: 0 / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.8215, allocations: 4 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.8217, allocations: 31.91 kB / 1.096 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.822, allocations: 248.8 kB / 1.097 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.8221, allocations: 26.58 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.8221, allocations: 8.922 kB / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.8222, allocations: 0 / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8222, allocations: 34.56 kB / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8222, allocations: 0 / 1.097 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.8224, allocations: 49.62 kB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.8224, allocations: 51.41 kB / 1.097 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.8225, allocations: 113.7 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8226, allocations: 25.7 kB / 1.097 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.8226, allocations: 92.2 kB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.8226, allocations: 11.89 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.8227, allocations: 17.7 kB / 1.097 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8228, allocations: 314.8 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.8229, allocations: 11.98 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.823, allocations: 7.984 kB / 1.097 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.8231, allocations: 28.8 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8231, allocations: 0 / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.8233, allocations: 65.5 kB / 1.097 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8233, allocations: 4 kB / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.8233, allocations: 0 / 1.097 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8234, allocations: 4 kB / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.8235, allocations: 7.984 kB / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8235, allocations: 0 / 1.097 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.8236, allocations: 15.94 kB / 1.097 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.8237, allocations: 3.984 kB / 1.097 GB, free: 9.91 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 7.433e-05/0.8237, allocations: 109.8 kB / 1.097 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.8238, allocations: 4 kB / 1.097 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.8238, allocations: 3.125 kB / 1.097 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8238, allocations: 0 / 1.097 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8238, allocations: 0 / 1.097 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8238, allocations: 4.266 kB / 1.097 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.824, allocations: 161.7 kB / 1.098 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.824, allocations: 0 / 1.098 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.824, allocations: 11.92 kB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.824, allocations: 3.984 kB / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.8241, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8241, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8241, allocations: 0 / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.8242, allocations: 135.5 kB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.8242, allocations: 85.12 kB / 1.098 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8243, allocations: 0 / 1.098 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.8244, allocations: 4 kB / 1.098 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.8244, allocations: 7.938 kB / 1.098 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.8244, allocations: 3.938 kB / 1.098 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.314e-05/0.8245, allocations: 91.27 kB / 1.098 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8245, allocations: 0 / 1.098 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002577/0.8248, allocations: 16 kB / 1.098 GB, free: 9.188 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.0004746/0.8253, allocations: 0.6889 MB / 1.099 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.8254, allocations: 19.98 kB / 1.099 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8254, allocations: 4.031 kB / 1.099 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.8255, allocations: 7.938 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.0003384/0.8258, allocations: 19.33 kB / 1.099 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.8263, allocations: 148.8 kB / 1.099 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.8265, allocations: 0.6768 MB / 1.099 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.72e-05/0.8266, allocations: 8.062 kB / 1.1 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.8266, allocations: 7.438 kB / 1.1 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.8266, allocations: 4 kB / 1.1 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.8448, allocations: 1.558 MB / 1.101 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.948, allocations: 12.19 kB / 1.101 GB, free: 6.035 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 & 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