Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_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.001178/0.001178, 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.001229/0.001229, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.406 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.501/2.501, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.579, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002388/0.5815, allocations: 1.27 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.5828, allocations: 0.8225 MB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.5828, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.5828, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.5829, allocations: 7.922 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.5833, allocations: 131.4 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.5834, allocations: 23.92 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.5835, allocations: 0 / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.5835, allocations: 15.92 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.5836, allocations: 8 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.5836, allocations: 4 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.5839, allocations: 171.7 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.5839, allocations: 11.92 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.584, allocations: 7.938 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.5842, allocations: 122 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5842, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5843, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.5843, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 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.0004329/0.5847, allocations: 359.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5847, allocations: 16.02 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.5848, allocations: 38.69 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.5848, allocations: 4.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5849, allocations: 168.2 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.585, allocations: 30.27 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.585, allocations: 384 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5852, allocations: 53.98 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5852, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5852, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.5852, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.5853, allocations: 23.98 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.5855, allocations: 157.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5857, allocations: 50.5 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.5858, allocations: 12.86 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.5861, allocations: 186.3 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5861, allocations: 38.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.5861, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.5864, allocations: 61.67 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.5864, allocations: 59.34 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.5865, allocations: 97.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5865, allocations: 29.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.5865, allocations: 88.14 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.5866, allocations: 11.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.5866, allocations: 21.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5867, allocations: 310.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.5868, allocations: 12 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.5868, allocations: 7.984 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.5869, allocations: 32.84 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5869, allocations: 8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.5871, allocations: 57.56 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5871, allocations: 7.938 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5871, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5871, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.5872, allocations: 7.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5872, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.5872, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.5872, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 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 7.627e-05/0.5873, allocations: 113.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.5873, allocations: 7.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.5875, allocations: 69.02 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5875, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5876, allocations: 3.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5876, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.5877, allocations: 157.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5877, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.5877, allocations: 12 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5877, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.5878, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5878, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5878, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5879, allocations: 81.67 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.588, allocations: 96.97 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.588, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.5881, allocations: 8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.5881, allocations: 4.031 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.5881, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.5882, allocations: 87.27 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5882, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002404/0.5884, allocations: 28 kB / 1.022 GB, free: 12.93 MB / 0.7794 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.0005158/0.5889, allocations: 0.6669 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.5891, allocations: 31.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5891, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.5892, allocations: 15.98 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.5894, allocations: 9.703 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.5898, allocations: 168.9 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.59, allocations: 0.6729 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.5901, allocations: 11.98 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.5901, allocations: 19.38 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5901, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.6084, allocations: 1.909 MB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.727, allocations: 3.75 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches