Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.pW_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.004708/0.004708, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001302/0.001302, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7154, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002294/0.7177, allocations: 1.274 MB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.7192, allocations: 0.8537 MB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.7192, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.7193, allocations: 4 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.7193, allocations: 7.922 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.72, allocations: 198.6 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.7201, allocations: 15.94 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.7201, allocations: 3.984 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.7202, allocations: 15.81 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.7202, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.7203, allocations: 7.938 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.7207, allocations: 231.7 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.7207, allocations: 4 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.7207, allocations: 15.91 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.721, allocations: 151.3 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.721, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.721, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.721, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 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.0004377/0.7215, allocations: 351.2 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7215, allocations: 16.03 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.7216, allocations: 30.75 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.7217, allocations: 8.922 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.7219, allocations: 172.3 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.7219, allocations: 4.375 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.7219, allocations: 3.938 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.722, allocations: 45.62 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7221, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7221, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.7221, allocations: 0 / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.7221, allocations: 19.98 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.7223, allocations: 157.7 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009245/0.7233, allocations: 130.5 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.7233, allocations: 28.84 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.7234, allocations: 81.11 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7235, allocations: 38.44 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7235, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.7237, allocations: 65.64 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.7237, allocations: 55.39 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.7238, allocations: 93.86 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.7238, allocations: 29.83 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.7239, allocations: 80.14 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.7239, allocations: 15.89 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.724, allocations: 13.72 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7241, allocations: 318.8 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.7241, allocations: 12 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.7241, allocations: 8 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.7242, allocations: 40.72 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7242, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.7243, allocations: 61.62 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7243, allocations: 4 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7244, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.7244, allocations: 336 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.7244, allocations: 8 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7245, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.7245, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.7245, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 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 8.896e-05/0.7246, allocations: 121.7 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.7246, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.7249, allocations: 85.09 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7249, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7249, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7249, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.725, allocations: 165.6 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.725, allocations: 4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.7251, allocations: 4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7251, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.7251, allocations: 11.98 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7251, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7251, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.7253, allocations: 92.94 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.7253, allocations: 81.11 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.7254, allocations: 4.125 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.7254, allocations: 4 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.7254, allocations: 3.984 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.7255, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.7255, allocations: 79.28 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7255, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002515/0.7258, allocations: 43.88 kB / 1.225 GB, free: 12.31 MB / 0.9512 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 (5): * Single equations (assignments): 5 * 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.0007063/0.7265, allocations: 0.7074 MB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.7266, allocations: 27.98 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7266, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.7266, allocations: 15.94 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.7268, allocations: 8 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.7273, allocations: 176 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.7276, allocations: 0.6768 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.7277, allocations: 11.98 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.7277, allocations: 15.42 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7277, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.7514, allocations: 1.98 MB / 1.229 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.804, allocations: 10.5 kB / 1.229 GB, free: 8.727 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches