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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009592/0.0009592, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008009/0.008009, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 443.4 MB / 0.7176 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 11.75 kB / 0.8797 GB, free: 41.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2841, allocations: 155.2 MB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.0013/0.2854, allocations: 0.9906 MB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2868, allocations: 0.8893 MB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.396e-05/0.2868, allocations: 4 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.2868, allocations: 0 / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.2869, allocations: 7.922 kB / 1.033 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2874, allocations: 162.6 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.2875, allocations: 11.94 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.2875, allocations: 7.938 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.2876, allocations: 7.938 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.2876, allocations: 15.98 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.2876, allocations: 0 / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2879, allocations: 187.8 kB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.288, allocations: 3.984 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.288, allocations: 41.62 kB / 1.034 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2883, allocations: 147.9 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2883, allocations: 0 / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2883, allocations: 4 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2883, allocations: 0 / 1.034 GB, free: 1.754 MB / 0.7794 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.0003643/0.2886, allocations: 351.6 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2887, allocations: 12.02 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2887, allocations: 34.75 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.2889, allocations: 12.92 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.289, allocations: 164.3 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.289, allocations: 384 / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2891, allocations: 3.938 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.2892, allocations: 41.69 kB / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2892, allocations: 0 / 1.034 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2892, allocations: 4 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2892, allocations: 4 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.2893, allocations: 15.98 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.2894, allocations: 157.6 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008478/0.2903, allocations: 134.5 kB / 1.035 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.2903, allocations: 16.86 kB / 1.035 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.2905, allocations: 85.09 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2905, allocations: 34.56 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2905, allocations: 4 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000183/0.2907, allocations: 61.59 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.2907, allocations: 59.34 kB / 1.035 GB, free: 384 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.2908, allocations: 93.86 kB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2908, allocations: 29.64 kB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.2909, allocations: 80.14 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.2909, allocations: 15.89 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.2909, allocations: 9.844 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2911, allocations: 314.8 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.2911, allocations: 8 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.2911, allocations: 11.98 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.2912, allocations: 20.86 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2912, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.915e-05/0.2913, allocations: 61.84 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2913, allocations: 8 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2913, allocations: 3.984 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2913, allocations: 0 / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.2914, allocations: 12.03 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2914, allocations: 4 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.2915, allocations: 11.89 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2915, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 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 7.763e-05/0.2916, allocations: 123.2 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.2916, allocations: 4 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2918, allocations: 77.17 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2919, allocations: 0 / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2919, allocations: 3.938 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2919, allocations: 4 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.292, allocations: 165.5 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.292, allocations: 0 / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.2921, allocations: 11.98 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2921, allocations: 0 / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2921, allocations: 4 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2921, allocations: 0 / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2921, allocations: 4 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2922, allocations: 85.06 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.2923, allocations: 85 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2923, allocations: 4 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.2924, allocations: 4 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.2924, allocations: 4 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2924, allocations: 7.938 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.2925, allocations: 79.22 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2925, allocations: 0 / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002397/0.2927, allocations: 47.98 kB / 1.036 GB, free: 14.85 MB / 0.795 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.0006853/0.2934, allocations: 0.6908 MB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2935, allocations: 27.92 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2935, allocations: 3.938 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.2936, allocations: 16 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.2937, allocations: 7.984 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.2942, allocations: 182.3 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.2945, allocations: 0.6731 MB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.2946, allocations: 11.98 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.2946, allocations: 11.44 kB / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.2947, allocations: 0 / 1.038 GB, free: 13.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.3067, allocations: 1.73 MB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.307, allocations: 265.7 kB / 1.04 GB, free: 11.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.101, allocations: 0 / 1.04 GB, free: 11.23 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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