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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001076/0.001076, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.8 kB / 16.94 MB, free: 6.891 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 18.06 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001504/0.294, allocations: 1.013 MB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.295, allocations: 0.5765 MB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.2951, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.2951, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.2952, allocations: 7.922 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.2956, allocations: 79.66 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.2957, allocations: 19.86 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.2957, allocations: 11.98 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.2958, allocations: 7.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.2958, allocations: 0 / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2958, allocations: 4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.2961, allocations: 143.8 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2962, allocations: 11.91 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2962, allocations: 33.7 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.2964, allocations: 60.16 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2964, allocations: 7.938 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2964, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2964, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 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.0003776/0.2968, allocations: 347.4 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2968, allocations: 8.031 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.2973, allocations: 28.89 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2974, allocations: 164.4 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2975, allocations: 384 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2975, allocations: 384 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2976, allocations: 54.22 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2977, allocations: 192 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2977, allocations: 3.938 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2977, allocations: 0 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2978, allocations: 23.97 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.298, allocations: 161.5 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.2982, allocations: 46.59 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.2983, allocations: 16.91 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2983, allocations: 4 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2983, allocations: 30.56 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.2983, allocations: 4 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000335/0.2987, allocations: 81.44 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2987, allocations: 55.41 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.2988, allocations: 97.84 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2988, allocations: 25.7 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.2988, allocations: 84.27 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2989, allocations: 3.906 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2989, allocations: 17.66 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.299, allocations: 314.8 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.2991, allocations: 7.984 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.2992, allocations: 15.98 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2993, allocations: 28.91 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2993, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.2995, allocations: 65.61 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2995, allocations: 9.5 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2995, allocations: 7.922 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2995, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.2996, allocations: 8.031 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2996, allocations: 4 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.2997, allocations: 3.984 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2997, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 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.971e-05/0.2998, allocations: 115.3 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2998, allocations: 0 / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.2999, allocations: 11.06 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2999, allocations: 4.188 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2999, allocations: 4 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2999, allocations: 7.969 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.3, allocations: 153.7 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3, allocations: 0 / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.3001, allocations: 7.984 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3001, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3001, allocations: 3.938 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3001, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3002, allocations: 4 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3004, allocations: 85.05 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.3005, allocations: 89 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3005, allocations: 3.938 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.3006, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.3006, allocations: 7.984 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3006, allocations: 4.031 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.3006, allocations: 75.28 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3006, allocations: 4 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002099/0.3008, allocations: 16 kB / 1.063 GB, free: 360 kB / 0.8106 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.0002033/0.3011, allocations: 107.2 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3012, allocations: 31.97 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3012, allocations: 3.938 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.3013, allocations: 19.92 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3016, allocations: 4.938 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3019, allocations: 158.4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3022, allocations: 0.677 MB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3022, allocations: 15.42 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3022, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.002282/0.3045, allocations: 0.7698 MB / 1.065 GB, free: 14.5 MB / 0.8262 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/jenkins1/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