Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001298/0.001298, allocations: 108 kB / 15.6 MB, free: 132 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.001321/0.001321, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.08 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2859, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002593/0.2885, allocations: 1.257 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.2892, allocations: 287.1 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.2892, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.2893, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.2893, allocations: 7.922 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.2896, allocations: 55.69 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.2897, allocations: 23.92 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.2897, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.2897, allocations: 7.938 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2898, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2898, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.29, allocations: 59.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.29, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.29, allocations: 8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2902, allocations: 56.11 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2902, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2902, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2902, allocations: 0 / 1.066 GB, free: 12.43 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.0003949/0.2906, allocations: 331.6 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2906, allocations: 8.031 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2907, allocations: 34.73 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.2909, allocations: 20.92 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.291, allocations: 168.3 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2911, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.2911, allocations: 384 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.2912, allocations: 46.23 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2912, allocations: 7.875 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2912, allocations: 3.984 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2912, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.2913, allocations: 12 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.2915, allocations: 157.7 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.2934, allocations: 266.5 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.2935, allocations: 24.84 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2935, allocations: 4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2936, allocations: 34.56 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2936, allocations: 7.875 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.2937, allocations: 65.53 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2938, allocations: 55.41 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.2939, allocations: 89.86 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2939, allocations: 25.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2939, allocations: 84.27 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.294, allocations: 11.89 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.294, allocations: 21.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2941, allocations: 310.8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.2942, allocations: 8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.2942, allocations: 13.83 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.2942, allocations: 28.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2943, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.53e-05/0.2944, allocations: 65.59 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2944, allocations: 7.938 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2944, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2944, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.2945, allocations: 8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2945, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.2945, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2945, allocations: 0 / 1.068 GB, free: 10.3 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.226e-05/0.2946, allocations: 113.8 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.2946, allocations: 7.875 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.2947, allocations: 19.42 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2947, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2947, allocations: 4.328 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2947, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2948, allocations: 157.6 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2948, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.2949, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.2949, allocations: 7.922 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2949, allocations: 4 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2949, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2949, allocations: 4 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.295, allocations: 81.06 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.2951, allocations: 85 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2951, allocations: 7.938 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.2952, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2952, allocations: 3.938 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2952, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.2953, allocations: 79.28 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 0 / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001893/0.2955, allocations: 4 kB / 1.068 GB, free: 9.633 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 (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.0004125/0.2959, allocations: 0.6163 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.296, allocations: 31.92 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.296, allocations: 4.094 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.296, allocations: 12 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2963, allocations: 7.984 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.2967, allocations: 148.4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.297, allocations: 0.6775 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.926e-05/0.2971, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2971, allocations: 15.44 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.336e-06/0.2971, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.3191, allocations: 1.298 MB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.117, allocations: 15.5 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches