Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.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.Examples.DewPointTemperature,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",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.001087/0.001087, 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.001132/0.001132, allocations: 194.6 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.97 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2617, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.00286/0.2646, allocations: 1.515 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.266, allocations: 0.888 MB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.266, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.982e-05/0.2661, allocations: 3.938 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.2662, allocations: 15.86 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.2666, allocations: 199.1 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.491e-05/0.2667, allocations: 59.72 kB / 1.056 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.2668, allocations: 12 kB / 1.056 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.2669, allocations: 19.92 kB / 1.056 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.2669, allocations: 19.92 kB / 1.056 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2669, allocations: 8 kB / 1.056 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.2674, allocations: 331.5 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2675, allocations: 15.92 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2675, allocations: 19.94 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.2678, allocations: 231.7 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2678, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2678, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2679, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005375/0.2684, allocations: 395.3 kB / 1.057 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2684, allocations: 16.61 kB / 1.057 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.2685, allocations: 42.75 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.2688, allocations: 20.91 kB / 1.057 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.269, allocations: 176.2 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.269, allocations: 4.375 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.269, allocations: 4.375 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.2692, allocations: 74.16 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2693, allocations: 7.938 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2693, allocations: 4 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2693, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.2695, allocations: 59.94 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.27, allocations: 304.6 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2702, allocations: 74.66 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2703, allocations: 36.78 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2703, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2704, allocations: 34.56 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.2704, allocations: 4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003855/0.2708, allocations: 117.7 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2708, allocations: 51.41 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.2709, allocations: 105.8 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2709, allocations: 25.7 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.2709, allocations: 95.98 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.271, allocations: 11.8 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.271, allocations: 21.72 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.2711, allocations: 322.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.2712, allocations: 23.97 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.2713, allocations: 19.98 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2715, allocations: 68.75 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2715, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002214/0.2717, allocations: 86.03 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2717, allocations: 8 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2718, allocations: 64 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2718, allocations: 4 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.2728, allocations: 119.9 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2741, allocations: 1.492 MB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.127e-05/0.2742, allocations: 8.016 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2742, allocations: 4 kB / 1.06 GB, free: 0.793 MB / 0.8106 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.2743, allocations: 113.8 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2743, allocations: 4 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.2749, allocations: 146.4 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2749, allocations: 0 / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.2749, allocations: 7.875 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2749, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2751, allocations: 181.5 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2751, allocations: 7.938 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.2752, allocations: 8 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.2755, allocations: 32.83 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2755, allocations: 4 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.2767, allocations: 1.443 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2767, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.2773, allocations: 236.3 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2773, allocations: 81.02 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2773, allocations: 0 / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2774, allocations: 15.92 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2775, allocations: 8 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2775, allocations: 3.984 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.2775, allocations: 99.56 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2775, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002457/0.2778, allocations: 12 kB / 1.062 GB, free: 14.15 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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007629/0.2786, allocations: 0.77 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.2797, allocations: 155.8 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2797, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.28, allocations: 150.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2803, allocations: 11.98 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.282, allocations: 1.392 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2822, allocations: 0.6846 MB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.2823, allocations: 4 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.2823, allocations: 23.42 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2824, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.3034, allocations: 2.311 MB / 1.068 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14, allocations: 4.062 kB / 1.068 GB, free: 8.676 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches