Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.00701/0.00701, allocations: 104 kB / 15.74 MB, free: 6.059 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.001591/0.001591, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.317/2.317, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8033, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001962/0.8053, allocations: 1.268 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.8064, allocations: 0.8222 MB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.8064, allocations: 4 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.8064, allocations: 0.9062 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.8065, allocations: 5.859 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.807, allocations: 134.5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.807, allocations: 27.22 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.8071, allocations: 2.766 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.8071, allocations: 12.53 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.8072, allocations: 15.42 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.8072, allocations: 1.656 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.8075, allocations: 169.2 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.8075, allocations: 6.625 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.8076, allocations: 8.781 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.8078, allocations: 120.8 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8078, allocations: 0.75 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8078, allocations: 0 / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8079, allocations: 0.7188 kB / 1.09 GB, free: 3.625 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003564/0.8082, allocations: 361.5 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8083, allocations: 9.281 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.8083, allocations: 36.47 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.8083, allocations: 8.031 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.8084, allocations: 166 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.8085, allocations: 30.48 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.8085, allocations: 5.75 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.8086, allocations: 48.38 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8086, allocations: 0 / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.8087, allocations: 4.609 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.8087, allocations: 0.875 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.8088, allocations: 18.52 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.8089, allocations: 163.1 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.8091, allocations: 49.11 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.8091, allocations: 22.86 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.8094, allocations: 180.8 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.8094, allocations: 37.25 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8094, allocations: 0 / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002306/0.8097, allocations: 64.42 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.8097, allocations: 52.47 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.145e-05/0.8097, allocations: 103.3 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.8097, allocations: 25.7 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.006e-05/0.8098, allocations: 81.11 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.8098, allocations: 11 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.8098, allocations: 18.31 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.8099, allocations: 316.9 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.8099, allocations: 11.34 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.81, allocations: 8.625 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.8101, allocations: 33.02 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8101, allocations: 4.812 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.8102, allocations: 54.03 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8102, allocations: 8.531 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8102, allocations: 0.7969 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.8103, allocations: 1.156 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.8103, allocations: 12.02 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8103, allocations: 0 / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.8104, allocations: 2.344 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.8104, allocations: 10.17 kB / 1.092 GB, free: 1.691 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 (4): * Single equations (assignments): 4 * 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 4.749e-05/0.8104, allocations: 111.6 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.8104, allocations: 10.52 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.8106, allocations: 63.36 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8106, allocations: 1.594 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8106, allocations: 0 / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8106, allocations: 1.719 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.225e-05/0.8107, allocations: 154.8 kB / 1.092 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8107, allocations: 4 kB / 1.092 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.8108, allocations: 11.62 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8108, allocations: 4.969 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.8108, allocations: 5.953 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8108, allocations: 3.938 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8108, allocations: 0 / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.811, allocations: 79.59 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.811, allocations: 98.19 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.811, allocations: 1 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.8111, allocations: 3.422 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.8111, allocations: 1.922 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.8111, allocations: 7.047 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.154e-05/0.8112, allocations: 82.61 kB / 1.092 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8112, allocations: 0 / 1.092 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002367/0.8114, allocations: 31.94 kB / 1.093 GB, free: 1.039 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 (4): * Single equations (assignments): 4 * 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.000513/0.8119, allocations: 0.664 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.8121, allocations: 26.16 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8121, allocations: 0.8125 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.8122, allocations: 19.38 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.8124, allocations: 9.094 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.813, allocations: 163.9 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.8133, allocations: 0.6806 MB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.375e-05/0.8133, allocations: 12.05 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.8134, allocations: 10.33 kB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8134, allocations: 0 / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.8309, allocations: 1.947 MB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/8.054, allocations: 9.688 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches