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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004663/0.004663, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001294/0.001294, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 64.62 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3035, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002202/0.3057, allocations: 1.276 MB / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3072, allocations: 0.8708 MB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.3072, allocations: 0 / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.3072, allocations: 0 / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.3073, allocations: 3.938 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.3079, allocations: 202.9 kB / 1.244 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.308, allocations: 15.88 kB / 1.244 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.308, allocations: 11.97 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.3081, allocations: 8 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.3081, allocations: 11.88 kB / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.3082, allocations: 0 / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.3086, allocations: 237.3 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.3086, allocations: 3.984 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.3086, allocations: 15.92 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3089, allocations: 143.7 kB / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3089, allocations: 0 / 1.244 GB, free: 6.48 MB / 0.9669 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.0004445/0.3093, allocations: 367.1 kB / 1.245 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3094, allocations: 8.031 kB / 1.245 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3094, allocations: 30.75 kB / 1.245 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.3096, allocations: 12.92 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3098, allocations: 172.3 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3098, allocations: 384 / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3098, allocations: 7.938 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3099, allocations: 37.69 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3099, allocations: 3.984 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3099, allocations: 4 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3099, allocations: 0 / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.31, allocations: 12 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.3102, allocations: 153.7 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.3111, allocations: 142.5 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3112, allocations: 20.84 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.3113, allocations: 81.11 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3114, allocations: 38.56 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3114, allocations: 0 / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.3116, allocations: 69.62 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3116, allocations: 55.34 kB / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.3117, allocations: 89.86 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3117, allocations: 25.7 kB / 1.245 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3117, allocations: 80.14 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3118, allocations: 19.88 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3118, allocations: 25.78 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.312, allocations: 310.8 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.312, allocations: 8 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.312, allocations: 12.17 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.3121, allocations: 28.94 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3121, allocations: 0 / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.689e-05/0.3122, allocations: 61.56 kB / 1.246 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3122, allocations: 7.938 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3122, allocations: 7.938 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3122, allocations: 4 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.3123, allocations: 8 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3123, allocations: 3.984 kB / 1.246 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.3124, allocations: 4 kB / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.3124, allocations: 0 / 1.246 GB, free: 4.355 MB / 0.9669 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.876e-05/0.3125, allocations: 110.3 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.3125, allocations: 4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3127, allocations: 81.11 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3128, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3129, allocations: 161.6 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3129, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.313, allocations: 11.98 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.313, allocations: 0 / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.313, allocations: 8 kB / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.313, allocations: 0 / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.313, allocations: 0 / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3131, allocations: 89.02 kB / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.3133, allocations: 81.11 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3133, allocations: 3.984 kB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.3133, allocations: 0 / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.3133, allocations: 7.938 kB / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3134, allocations: 4 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.3134, allocations: 83.28 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3134, allocations: 0 / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002567/0.3137, allocations: 47.86 kB / 1.247 GB, free: 3.574 MB / 0.9669 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.0007053/0.3144, allocations: 0.6939 MB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3145, allocations: 31.92 kB / 1.247 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3145, allocations: 3.938 kB / 1.247 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.3145, allocations: 16 kB / 1.247 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3147, allocations: 0 / 1.247 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.3152, allocations: 176.1 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3155, allocations: 0.6768 MB / 1.248 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.3156, allocations: 4 kB / 1.248 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3156, allocations: 19.42 kB / 1.248 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3156, allocations: 3.938 kB / 1.248 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.3382, allocations: 1.988 MB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.192, allocations: 8.109 kB / 1.25 GB, free: 16 kB / 0.9669 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 400 --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