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.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.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.0007593/0.0007593, allocations: 91.84 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.004683/0.004683, allocations: 170 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.633/2.633, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 10.53 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.001689/0.2884, allocations: 1.26 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2897, allocations: 0.88 MB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.2898, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.2898, allocations: 11.92 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.979e-05/0.2899, allocations: 7.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2904, allocations: 175.3 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.2905, allocations: 51.73 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.2906, allocations: 19.98 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.2906, allocations: 19.92 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.2907, allocations: 19.92 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.2907, allocations: 0 / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.2912, allocations: 335.4 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2912, allocations: 7.938 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.2913, allocations: 45.62 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.2916, allocations: 219.8 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2916, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2916, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2916, allocations: 4 kB / 1.062 GB, free: 1.879 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.0004884/0.2921, allocations: 391.4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2922, allocations: 11.97 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.2922, allocations: 38.73 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.2925, allocations: 24.91 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2926, allocations: 184.2 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2927, allocations: 8.375 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2927, allocations: 384 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2929, allocations: 82.16 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2929, allocations: 3.938 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2929, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.293, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.2932, allocations: 79.88 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.2936, allocations: 300.7 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.2939, allocations: 82.7 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.294, allocations: 36.83 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.294, allocations: 4 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2941, allocations: 38.56 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2941, allocations: 0 / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0004166/0.2945, allocations: 133.6 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2945, allocations: 55.34 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.2946, allocations: 105.8 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.2946, allocations: 25.7 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.2947, allocations: 96.05 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.2947, allocations: 11.75 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.2947, allocations: 21.7 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2949, allocations: 314.8 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.295, allocations: 31.97 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.2951, allocations: 32.23 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2953, allocations: 76.94 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2953, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002749/0.2956, allocations: 101.6 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2956, allocations: 4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2956, allocations: 7.984 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2956, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.2966, allocations: 115.9 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2978, allocations: 1.382 MB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.2979, allocations: 8.125 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2979, allocations: 4 kB / 1.065 GB, free: 13.75 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 (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.514e-05/0.298, allocations: 113.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.298, allocations: 7.906 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005683/0.2986, allocations: 158.2 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2986, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.2986, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2986, allocations: 7.984 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2988, allocations: 177.6 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2988, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.2989, allocations: 15.98 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.2993, allocations: 40.75 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2993, allocations: 12.06 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3005, allocations: 1.356 MB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3005, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.301, allocations: 236.4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3011, allocations: 81.02 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.3011, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3012, allocations: 11.98 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.3013, allocations: 15.94 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3013, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.3013, allocations: 87.27 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3013, allocations: 4 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002396/0.3016, allocations: 12 kB / 1.068 GB, free: 11.18 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.0008275/0.3024, allocations: 0.764 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.3035, allocations: 159.8 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3035, allocations: 4 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.3038, allocations: 150.7 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3041, allocations: 21.3 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3062, allocations: 1.44 MB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3065, allocations: 0.6888 MB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3066, allocations: 3.984 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3067, allocations: 15.44 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3067, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.3193, allocations: 2.017 MB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.3195, allocations: 252.6 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.066, allocations: 0 / 1.073 GB, free: 5.742 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