Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001498/0.001498, allocations: 109.9 kB / 15.99 MB, free: 6.348 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.001674/0.001674, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.517/1.517, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.81 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3081, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002896/0.3111, allocations: 1.593 MB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3123, allocations: 0.8721 MB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.3124, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3125, allocations: 7.922 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.3126, allocations: 15.92 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.3131, allocations: 179.3 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3132, allocations: 55.73 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3133, allocations: 15.98 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.3134, allocations: 19.88 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.3135, allocations: 31.91 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3135, allocations: 0 / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.3139, allocations: 331.5 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.314, allocations: 15.91 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.314, allocations: 23.88 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3142, allocations: 155.9 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3143, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3143, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3143, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 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.0005328/0.3148, allocations: 407.2 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3149, allocations: 8.031 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.3151, allocations: 20.91 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3153, allocations: 180.2 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3154, allocations: 4.375 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3154, allocations: 4.375 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3156, allocations: 74.16 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3156, allocations: 4.188 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3156, allocations: 3.938 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3156, allocations: 0 / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3159, allocations: 63.94 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.3163, allocations: 300.7 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.3166, allocations: 82.66 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3167, allocations: 32.84 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3167, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3168, allocations: 34.55 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3168, allocations: 4 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003844/0.3171, allocations: 113.7 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3172, allocations: 51.41 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.3173, allocations: 113.8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3173, allocations: 25.7 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.3174, allocations: 88.05 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.3174, allocations: 23.73 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3175, allocations: 17.72 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3176, allocations: 322.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.3177, allocations: 19.98 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.3178, allocations: 31.91 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.318, allocations: 56.83 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.318, allocations: 4 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002193/0.3182, allocations: 93.59 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3182, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3182, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3182, allocations: 3.984 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3193, allocations: 115.9 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.3208, allocations: 1.485 MB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.3209, allocations: 19.92 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3209, allocations: 0 / 1.024 GB, free: 3.594 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 (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 9.396e-05/0.321, allocations: 120.2 kB / 1.024 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.321, allocations: 0 / 1.024 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.3216, allocations: 150.4 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3216, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.3217, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3217, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3218, allocations: 185.5 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.3219, allocations: 8 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.322, allocations: 19.86 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.3223, allocations: 28.84 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3223, allocations: 4 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.3237, allocations: 1.439 MB / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3237, allocations: 3.984 kB / 1.026 GB, free: 1.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.3243, allocations: 232.2 kB / 1.026 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.3244, allocations: 81.02 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3244, allocations: 4 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3245, allocations: 12.05 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.3246, allocations: 4 kB / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3246, allocations: 11.98 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.3246, allocations: 87.28 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3246, allocations: 0 / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002626/0.3249, allocations: 16 kB / 1.027 GB, free: 0.9531 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): 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.0001297/0.325, allocations: 95.25 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.3261, allocations: 159.8 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3262, allocations: 0 / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.3265, allocations: 154.7 kB / 1.027 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3269, allocations: 15.92 kB / 1.027 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.3276, allocations: 232.8 kB / 1.027 GB, free: 256 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3279, allocations: 0.6884 MB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.328, allocations: 15.44 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.328, allocations: 0 / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.002896/0.3309, allocations: 1.201 MB / 1.029 GB, free: 14.33 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches