Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001209, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8906, allocations: 140.4 MB / 0.9489 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002586/0.8933, allocations: 1.345 MB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.8942, allocations: 0.5904 MB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.8942, allocations: 0 / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.8943, allocations: 3.984 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.8943, allocations: 5.312 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.8948, allocations: 79.08 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.8948, allocations: 21.48 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.8949, allocations: 5.375 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.8949, allocations: 8.062 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.895, allocations: 12.11 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.895, allocations: 0 / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.8953, allocations: 152.6 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.8954, allocations: 1.375 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.8954, allocations: 12.06 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.8956, allocations: 84.44 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8956, allocations: 1.375 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8956, allocations: 0 / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8956, allocations: 0 / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000337/0.896, allocations: 354.5 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.896, allocations: 13.48 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.8965, allocations: 25.47 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.8966, allocations: 164.3 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.8966, allocations: 1.812 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.8966, allocations: 384 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.8968, allocations: 54.41 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8968, allocations: 192 / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.8968, allocations: 5 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8968, allocations: 0 / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.897, allocations: 28.41 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.8971, allocations: 157 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.8973, allocations: 41.31 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.8973, allocations: 19.72 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.8974, allocations: 0 / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.8974, allocations: 32.03 kB / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8974, allocations: 0 / 0.952 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003109/0.8977, allocations: 84.53 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.8977, allocations: 52.59 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.8978, allocations: 104.4 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8978, allocations: 26.95 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.8978, allocations: 80.14 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.8979, allocations: 1.281 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.8979, allocations: 24.73 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.898, allocations: 312.3 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.898, allocations: 14.39 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.8981, allocations: 10.48 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.8982, allocations: 34.12 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8982, allocations: 0 / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001613/0.8984, allocations: 62.7 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8984, allocations: 9.531 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8984, allocations: 3.938 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8984, allocations: 1.375 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8986, allocations: 8.953 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8986, allocations: 0 / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.8986, allocations: 6.188 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.8986, allocations: 4.859 kB / 0.9528 GB, free: 5.789 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 5.089e-05/0.8987, allocations: 107.2 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.8987, allocations: 1.031 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.8988, allocations: 12.41 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.8988, allocations: 1.062 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8988, allocations: 4 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8988, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.848e-05/0.8989, allocations: 157.8 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8989, allocations: 5.156 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.8989, allocations: 8.578 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.899, allocations: 1.219 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.899, allocations: 15.84 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.899, allocations: 1.594 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.899, allocations: 0 / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.8992, allocations: 83.42 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.8993, allocations: 82.5 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.8993, allocations: 5.125 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.8994, allocations: 1.219 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.8994, allocations: 1.5 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.8994, allocations: 5.297 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.8994, allocations: 85.91 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8994, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.8997, allocations: 14.59 kB / 0.9534 GB, free: 5.164 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001551/0.8998, allocations: 116.8 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.9, allocations: 31.22 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9, allocations: 4.062 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.9001, allocations: 17.39 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.9003, allocations: 2.562 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.9007, allocations: 124.2 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.9008, allocations: 0.677 MB / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.9009, allocations: 10.48 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.9009, allocations: 9.938 kB / 0.9544 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9009, allocations: 0 / 0.9544 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.002885/0.9038, allocations: 0.7165 MB / 0.9551 GB, free: 3.82 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches