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.001329/0.001329, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.993/2.993, allocations: 469.8 MB / 0.742 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 73.36 kB / 0.908 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.314, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002899/0.317, allocations: 1.349 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.318, allocations: 0.5666 MB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.3181, allocations: 0 / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.3181, allocations: 3.938 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.3182, allocations: 3.984 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.3186, allocations: 91.64 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.622e-05/0.3187, allocations: 23.81 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.3187, allocations: 3.984 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.3188, allocations: 4 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.3188, allocations: 4 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3188, allocations: 0 / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.3191, allocations: 155.7 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.3192, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.3192, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3194, allocations: 100 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3194, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3194, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.3195, allocations: 0 / 1.066 GB, free: 12.28 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.0004479/0.3199, allocations: 339.5 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.32, allocations: 12.03 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.3204, allocations: 28.84 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3206, allocations: 168.3 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3206, allocations: 4.375 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3206, allocations: 384 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3208, allocations: 46.23 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3208, allocations: 192 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3208, allocations: 7.938 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3208, allocations: 3.938 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.321, allocations: 23.97 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.3212, allocations: 157.7 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3214, allocations: 42.48 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.3214, allocations: 24.91 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3215, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3215, allocations: 34.56 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3215, allocations: 3.938 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003173/0.3218, allocations: 73.59 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3219, allocations: 55.34 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.322, allocations: 102 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.322, allocations: 29.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3221, allocations: 80.14 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.3221, allocations: 11.89 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3222, allocations: 13.72 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3223, allocations: 314.8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.3224, allocations: 7.984 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.3225, allocations: 19.98 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3226, allocations: 24.84 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3226, allocations: 4 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.3228, allocations: 65.66 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3228, allocations: 7.938 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3228, allocations: 8.031 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3228, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3229, allocations: 4 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.323, allocations: 7.984 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.323, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.323, allocations: 0 / 1.067 GB, free: 10.36 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 0.0001015/0.3231, allocations: 113.8 kB / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.3232, allocations: 0 / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.3232, allocations: 15.06 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3232, allocations: 3.984 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3232, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3232, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3234, allocations: 153.7 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3234, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.3235, allocations: 7.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3235, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3235, allocations: 3.938 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3235, allocations: 11.92 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3235, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3237, allocations: 84.95 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.3238, allocations: 89.03 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3239, allocations: 3.938 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3239, allocations: 8.016 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3239, allocations: 4 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.324, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.324, allocations: 75.28 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002114/0.3242, allocations: 20 kB / 1.068 GB, free: 9.676 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.000199/0.3244, allocations: 107.2 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3246, allocations: 31.97 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3246, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.3247, allocations: 23.92 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.325, allocations: 7.984 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3254, allocations: 114.7 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3257, allocations: 0.6768 MB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.992e-05/0.3258, allocations: 8 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3258, allocations: 19.36 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3258, allocations: 0 / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.003312/0.3292, allocations: 0.733 MB / 1.07 GB, free: 7.902 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/jenkins/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