Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001308/0.001308, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.16 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3066, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002952/0.3096, allocations: 1.41 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.31, allocations: 199.5 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3101, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3102, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.3102, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3105, allocations: 19.86 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.3105, allocations: 31.86 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3106, allocations: 7.984 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.3107, allocations: 11.98 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.3107, allocations: 7.938 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3108, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.3109, allocations: 27.97 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.3109, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.3109, allocations: 15.94 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3111, allocations: 36.23 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3111, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3111, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3111, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004696/0.3116, allocations: 343.5 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3116, allocations: 11.97 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.3118, allocations: 8.844 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3119, allocations: 164.4 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3119, allocations: 8.375 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3119, allocations: 384 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3121, allocations: 54.17 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3121, allocations: 192 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3121, allocations: 3.938 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3122, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3123, allocations: 35.95 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.3127, allocations: 252.8 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3128, allocations: 42.53 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.3129, allocations: 24.91 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.313, allocations: 3.938 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.313, allocations: 34.56 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.313, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003586/0.3134, allocations: 81.64 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3134, allocations: 51.41 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.3135, allocations: 97.84 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3135, allocations: 25.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.3136, allocations: 96.17 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.3136, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3136, allocations: 9.719 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.3137, allocations: 318.8 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.3138, allocations: 19.91 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.3139, allocations: 15.98 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3141, allocations: 40.89 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3141, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.3143, allocations: 73.5 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3143, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3143, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3143, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3144, allocations: 16.02 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3144, allocations: 4 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3145, allocations: 7.984 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.3145, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 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 7.132e-05/0.3146, allocations: 121.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.3146, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3149, allocations: 80.77 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3149, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3149, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3149, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3151, allocations: 157.6 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3151, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.3151, allocations: 11.98 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3152, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3152, allocations: 4.234 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3152, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3152, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3154, allocations: 175.4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.3155, allocations: 85.02 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3155, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.3156, allocations: 7.938 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3156, allocations: 3.984 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3157, allocations: 8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.3157, allocations: 79.28 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3157, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002255/0.3159, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8419 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 (3): * Single equations (assignments): 3 * 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.0001265/0.3161, allocations: 99.78 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3163, allocations: 43.89 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3163, allocations: 4.062 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3164, allocations: 19.97 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3167, allocations: 13.81 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.317, allocations: 136.4 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.3173, allocations: 0.6807 MB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3173, allocations: 7.438 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3173, allocations: 4 kB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of Templates: time 0.00187/0.3192, allocations: 0.5838 MB / 1.07 GB, free: 8.703 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches