Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_11_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_11_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.001675/0.001675, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001904/0.001904, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.477/1.477, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 73.47 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002561/0.33, allocations: 1.342 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.331, allocations: 0.5782 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.331, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.3311, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.3311, allocations: 11.94 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3315, allocations: 83.64 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.3316, allocations: 23.81 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3317, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.3317, allocations: 15.97 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.3318, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3318, allocations: 4 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3321, allocations: 143.8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.3321, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.3321, allocations: 15.92 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.3323, allocations: 68.14 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3323, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3323, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3323, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 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.0004635/0.3328, allocations: 343.5 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3328, allocations: 12.03 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.3333, allocations: 28.91 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3334, allocations: 168.3 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3334, allocations: 384 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.3335, allocations: 384 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3336, allocations: 46.23 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3336, allocations: 192 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3337, allocations: 7.938 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3337, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3338, allocations: 31.91 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.334, allocations: 153.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3342, allocations: 38.55 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.701e-05/0.3343, allocations: 28.91 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3343, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3343, allocations: 30.56 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.3343, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003106/0.3346, allocations: 77.53 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3347, allocations: 55.53 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.3348, allocations: 97.86 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3348, allocations: 25.7 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.3349, allocations: 80.14 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3349, allocations: 11.89 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.3349, allocations: 17.66 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3351, allocations: 314.8 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3352, allocations: 15.98 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.3352, allocations: 11.98 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3354, allocations: 28.84 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3354, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.3355, allocations: 69.61 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3356, allocations: 7.984 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3356, allocations: 3.938 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3356, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3357, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3357, allocations: 7.984 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.3358, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3358, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 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.916e-05/0.3359, allocations: 117.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.3359, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.336, allocations: 11.25 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.336, allocations: 3.984 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.336, allocations: 7.984 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.336, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3361, allocations: 153.7 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3361, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.3362, allocations: 7.984 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3362, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3362, allocations: 3.938 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3363, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3363, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3365, allocations: 84.95 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.3366, allocations: 89.12 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3366, allocations: 3.938 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.3366, allocations: 3.984 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.3367, allocations: 4 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3367, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3367, allocations: 79.28 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3367, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001976/0.3369, allocations: 16 kB / 1.069 GB, free: 9.711 MB / 0.8262 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.0001812/0.3371, allocations: 111.2 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3373, allocations: 31.91 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3373, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.3374, allocations: 23.92 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3377, allocations: 17.86 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.3381, allocations: 140.3 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.3384, allocations: 0.6768 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3384, allocations: 15.42 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3384, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.002415/0.3409, allocations: 0.7822 MB / 1.07 GB, free: 7.852 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches