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: translateModel(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") translateModel(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001552/0.001552, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.493/2.493, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.52 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2809, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002762/0.2837, allocations: 1.525 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2849, allocations: 0.8875 MB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.2849, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.285, allocations: 7.875 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.2851, allocations: 15.86 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.2856, allocations: 195.1 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2857, allocations: 59.78 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.2858, allocations: 8 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.2859, allocations: 27.91 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.2859, allocations: 19.92 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2859, allocations: 4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.2864, allocations: 335.5 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.2864, allocations: 7.938 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.2865, allocations: 23.92 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.2868, allocations: 227.4 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2868, allocations: 4 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2868, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2868, allocations: 0 / 1.03 GB, free: 14.71 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.0005031/0.2874, allocations: 404.5 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2874, allocations: 11.97 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.2877, allocations: 20.91 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2879, allocations: 184.2 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2879, allocations: 8.375 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2879, allocations: 4.375 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2881, allocations: 74.22 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2881, allocations: 192 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2881, allocations: 3.938 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2882, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.2884, allocations: 63.88 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.2888, allocations: 300.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.2891, allocations: 82.69 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2892, allocations: 28.84 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2892, allocations: 3.938 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2893, allocations: 34.56 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.2893, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003969/0.2897, allocations: 113.6 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2897, allocations: 51.41 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.2898, allocations: 109.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2898, allocations: 25.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2899, allocations: 88.05 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.2899, allocations: 19.73 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2899, allocations: 25.66 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.29, allocations: 318.8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.2901, allocations: 23.97 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.2902, allocations: 27.97 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.2904, allocations: 56.83 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2904, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002337/0.2907, allocations: 85.66 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2907, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2907, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2907, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2917, allocations: 132.2 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.293, allocations: 1.488 MB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.2931, allocations: 12.08 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2931, allocations: 0 / 1.034 GB, free: 10.57 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.608e-05/0.2932, allocations: 113.8 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.2933, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.2938, allocations: 154.2 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2938, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.2939, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2939, allocations: 0 / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.294, allocations: 185.5 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2941, allocations: 4 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.2941, allocations: 15.94 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.2945, allocations: 32.83 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2945, allocations: 4 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.2957, allocations: 1.45 MB / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2957, allocations: 0 / 1.036 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.2963, allocations: 228.4 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.2963, allocations: 81.02 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2963, allocations: 4.062 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2964, allocations: 15.92 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.2965, allocations: 4 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2965, allocations: 4 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.2966, allocations: 87.52 kB / 1.036 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2966, allocations: 3.938 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002569/0.2968, allocations: 20 kB / 1.036 GB, free: 7.926 MB / 0.8106 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 9.901e-05/0.2969, allocations: 99.25 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.298, allocations: 155.9 kB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.298, allocations: 3.938 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.2984, allocations: 154.6 kB / 1.036 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2987, allocations: 20.2 kB / 1.036 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.2994, allocations: 187.1 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2996, allocations: 0.6922 MB / 1.037 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.2996, allocations: 4 kB / 1.037 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2997, allocations: 11.44 kB / 1.037 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2997, allocations: 4 kB / 1.037 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of Templates: time 0.003602/0.3033, allocations: 1.228 MB / 1.038 GB, free: 5.312 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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