Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_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_latest_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.007622/0.007622, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001242/0.001242, allocations: 195.6 kB / 16.68 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 64.12 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 159.9 MB / 1.226 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002155/0.3212, allocations: 1.291 MB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.3221, allocations: 0.5608 MB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.3222, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3222, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.3222, allocations: 7.922 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3226, allocations: 91.56 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.3227, allocations: 23.81 kB / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.3227, allocations: 4 kB / 1.228 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.3228, allocations: 7.938 kB / 1.228 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.3228, allocations: 11.97 kB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.3228, allocations: 4 kB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.3231, allocations: 139.8 kB / 1.228 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.3232, allocations: 7.938 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3232, allocations: 4 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.3234, allocations: 91.7 kB / 1.228 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3234, allocations: 4 kB / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3234, allocations: 0 / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3234, allocations: 0 / 1.228 GB, free: 6.969 MB / 0.9825 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.0003878/0.3238, allocations: 343.3 kB / 1.228 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3238, allocations: 8.031 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.3243, allocations: 32.89 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3244, allocations: 176.2 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3244, allocations: 4.359 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3244, allocations: 4.375 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3246, allocations: 50.22 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3246, allocations: 4.188 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3246, allocations: 3.938 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3246, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3248, allocations: 19.98 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.325, allocations: 161.5 kB / 1.229 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3251, allocations: 46.53 kB / 1.229 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.3252, allocations: 20.91 kB / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3253, allocations: 0 / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3253, allocations: 34.5 kB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3253, allocations: 3.938 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003027/0.3256, allocations: 77.59 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3256, allocations: 51.41 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.3257, allocations: 101.8 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3257, allocations: 25.7 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.3258, allocations: 80.14 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3258, allocations: 7.891 kB / 1.229 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3259, allocations: 21.7 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.326, allocations: 315 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.326, allocations: 11.98 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.3261, allocations: 12 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3262, allocations: 28.83 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3262, allocations: 4.062 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.3264, allocations: 57.67 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3264, allocations: 9.719 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3264, allocations: 3.938 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3265, allocations: 0 / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3266, allocations: 11.92 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3266, allocations: 0 / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.3266, allocations: 8.031 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3267, allocations: 0 / 1.229 GB, free: 5.039 MB / 0.9825 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 6.384e-05/0.3267, allocations: 110.4 kB / 1.23 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.3268, allocations: 7.953 kB / 1.23 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.3268, allocations: 11.06 kB / 1.23 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3268, allocations: 0 / 1.23 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3268, allocations: 0 / 1.23 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3268, allocations: 4 kB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3269, allocations: 165.5 kB / 1.23 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3269, allocations: 4 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.327, allocations: 7.984 kB / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.327, allocations: 0 / 1.23 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3271, allocations: 3.938 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3271, allocations: 0 / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3271, allocations: 0 / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.3273, allocations: 96.97 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.3273, allocations: 81.09 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3274, allocations: 11.94 kB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3274, allocations: 0 / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3274, allocations: 0 / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3275, allocations: 7.938 kB / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.3275, allocations: 83.44 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 4.031 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002182/0.3277, allocations: 19.94 kB / 1.23 GB, free: 4.336 MB / 0.9825 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.0001642/0.3279, allocations: 114.3 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3281, allocations: 23.98 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3281, allocations: 0 / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.3282, allocations: 27.97 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3284, allocations: 4 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3288, allocations: 118.5 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.329, allocations: 0.6729 MB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.425e-05/0.3291, allocations: 12.06 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3291, allocations: 11.42 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3291, allocations: 0 / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.002904/0.332, allocations: 0.7401 MB / 1.232 GB, free: 2.57 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches