Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_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.00142/0.001419, 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.001547/0.001547, allocations: 195 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 65.92 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2867, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00264/0.2894, allocations: 1.272 MB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2909, allocations: 0.8669 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.2909, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.291, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.291, allocations: 11.91 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.2917, allocations: 203.1 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.2918, allocations: 15.88 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2918, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.2919, allocations: 11.98 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.2919, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.292, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.2923, allocations: 191.8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.2923, allocations: 7.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2924, allocations: 11.98 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2927, allocations: 147.8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2927, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2927, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2927, allocations: 3.938 kB / 1.066 GB, free: 11.79 MB / 0.8262 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.0004243/0.2931, allocations: 351.5 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2932, allocations: 12.03 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.2932, allocations: 34.69 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2934, allocations: 8.922 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2935, allocations: 164.4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2935, allocations: 4.375 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2935, allocations: 7.938 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.2937, allocations: 45.67 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2937, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2937, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2937, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.125e-05/0.2937, allocations: 15.94 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2939, allocations: 161.6 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.2949, allocations: 134.4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.2949, allocations: 28.91 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.295, allocations: 81.11 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.2951, allocations: 34.56 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.2951, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.2953, allocations: 69.59 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2953, allocations: 51.41 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.2954, allocations: 97.86 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.2954, allocations: 25.7 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.2954, allocations: 80.14 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2954, allocations: 11.8 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2955, allocations: 25.83 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2956, allocations: 314.8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.2956, allocations: 8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.2956, allocations: 7.984 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.2957, allocations: 24.86 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2957, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.963e-05/0.2958, allocations: 61.56 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2958, allocations: 4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2959, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2959, allocations: 4 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.2959, allocations: 11.98 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.296, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.296, allocations: 7.938 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.296, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 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.013e-05/0.2961, allocations: 113.8 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.2961, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2964, allocations: 85.05 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2964, allocations: 4 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2964, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.2965, allocations: 161.7 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2966, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.2966, allocations: 11.98 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2966, allocations: 7.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2966, allocations: 4 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2967, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2967, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.2968, allocations: 92.91 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.2969, allocations: 81.11 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2969, allocations: 7.984 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.2969, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.297, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.297, allocations: 4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.297, allocations: 75.28 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.297, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000257/0.2973, allocations: 51.98 kB / 1.069 GB, free: 8.891 MB / 0.8262 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.0006653/0.2979, allocations: 0.6869 MB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.2981, allocations: 39.91 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2981, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.2981, allocations: 12 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2983, allocations: 4.25 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.2988, allocations: 180.2 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2991, allocations: 0.6768 MB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.619e-05/0.2991, allocations: 15.92 kB / 1.07 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2992, allocations: 11.44 kB / 1.07 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2992, allocations: 0 / 1.07 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3279, allocations: 1.948 MB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.512, allocations: 11.97 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches