Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.007872/0.007872, allocations: 101.9 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.001938/0.001938, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.7 kB / 0.9504 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002586/0.2902, allocations: 1.282 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2915, allocations: 0.7725 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.2916, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.2916, allocations: 7.922 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.2917, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.2924, allocations: 163.2 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.2924, allocations: 19.94 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.2925, allocations: 11.98 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.2926, allocations: 8 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.2926, allocations: 11.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2926, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.2932, allocations: 291.5 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.2932, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.2932, allocations: 19.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.2936, allocations: 167.3 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2937, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2937, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2937, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005232/0.2942, allocations: 371.5 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2943, allocations: 8.031 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.2943, allocations: 38.69 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.2946, allocations: 16.91 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2947, allocations: 160.4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2947, allocations: 4.375 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2948, allocations: 4.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2949, allocations: 54.23 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2949, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2949, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.295, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.295, allocations: 27.92 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.2953, allocations: 177.5 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2954, allocations: 58.59 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.2954, allocations: 32.89 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.2955, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2955, allocations: 34.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2955, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002292/0.2958, allocations: 81.55 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2958, allocations: 55.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.2959, allocations: 89.86 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2959, allocations: 33.83 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.296, allocations: 80.14 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.296, allocations: 15.72 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.296, allocations: 21.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2962, allocations: 314.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.2962, allocations: 19.98 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.2962, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.2963, allocations: 32.86 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2963, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001086/0.2964, allocations: 69.62 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2965, allocations: 7.938 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2965, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2965, allocations: 3.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2966, allocations: 12 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2967, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.2967, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2967, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 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 (6): * Single equations (assignments): 6 * 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 0.00015/0.2969, allocations: 121.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.2969, allocations: 7.922 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.2971, allocations: 89.48 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2971, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2971, allocations: 448 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2972, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2973, allocations: 161.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2973, allocations: 11.98 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2974, allocations: 12 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2975, allocations: 3.938 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2975, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2975, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2975, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2976, allocations: 96.98 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.2977, allocations: 81.11 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2977, allocations: 15.92 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.2978, allocations: 3.938 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.2978, allocations: 4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2978, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.2979, allocations: 79.28 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2979, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002008/0.2981, allocations: 12 kB / 1.093 GB, free: 12.41 MB / 0.8575 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 (7): * Single equations (assignments): 7 * 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.0004239/0.2985, allocations: 0.6482 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.2986, allocations: 35.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2987, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.2987, allocations: 23.92 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.2989, allocations: 10.69 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.2994, allocations: 164.3 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2996, allocations: 0.6807 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.2997, allocations: 3.984 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.2997, allocations: 11.44 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.2998, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.317, allocations: 1.434 MB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.51, allocations: 13.3 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches