Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_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.001372/0.001378, allocations: 105.8 kB / 15.98 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.001345/0.001345, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 68.53 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3083, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002645/0.311, allocations: 1.482 MB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.3114, allocations: 191.5 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.3115, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.3115, allocations: 7.984 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.3116, allocations: 3.984 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.3117, allocations: 23.92 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.3118, allocations: 27.86 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.3119, allocations: 8 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.312, allocations: 7.984 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.312, allocations: 15.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.312, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3121, allocations: 23.98 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3121, allocations: 7.984 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.3121, allocations: 11.88 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.298e-05/0.3122, allocations: 24.23 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3122, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3122, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3123, allocations: 8 kB / 1.066 GB, free: 13.3 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.0004489/0.3127, allocations: 339.5 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3128, allocations: 12.62 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3129, allocations: 4.844 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.313, allocations: 164.4 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.313, allocations: 384 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.313, allocations: 384 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3132, allocations: 54.23 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3132, allocations: 192 / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3132, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3132, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3134, allocations: 39.89 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.3138, allocations: 248.9 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3139, allocations: 46.53 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.314, allocations: 20.91 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.314, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3141, allocations: 30.56 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3141, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003454/0.3144, allocations: 89.58 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.3145, allocations: 55.34 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.3146, allocations: 105.8 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3146, allocations: 25.7 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.3147, allocations: 88.05 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3147, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3147, allocations: 17.72 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3149, allocations: 319 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.315, allocations: 15.98 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.315, allocations: 11.98 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3152, allocations: 44.77 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3152, allocations: 3.984 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.3154, allocations: 73.58 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3154, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3154, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3155, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.3156, allocations: 11.98 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3156, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.3156, allocations: 11.98 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3156, allocations: 4.031 kB / 1.068 GB, free: 11.26 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 8.101e-05/0.3157, allocations: 115.5 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.3158, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.316, allocations: 80.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.316, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.316, allocations: 240 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.316, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3162, allocations: 161.6 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3162, allocations: 3.984 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.3163, allocations: 7.984 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3163, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3163, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3163, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3163, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3166, allocations: 175.4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.3167, allocations: 89.02 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3167, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.3168, allocations: 7.984 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3168, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.3168, allocations: 3.938 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.3169, allocations: 79.28 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3169, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002154/0.3171, allocations: 12 kB / 1.068 GB, free: 10.43 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.000103/0.3172, allocations: 103.2 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3174, allocations: 35.91 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3174, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.3175, allocations: 31.91 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3178, allocations: 12.09 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.3181, allocations: 145.7 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3184, allocations: 0.6768 MB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3184, allocations: 15.44 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3184, allocations: 0 / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of Templates: time 0.001927/0.3204, allocations: 0.5897 MB / 1.07 GB, free: 8.77 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches