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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001039/0.001039, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006575/0.006576, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 9.062 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001491/0.3083, allocations: 1.009 MB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.3093, allocations: 0.5765 MB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.3093, allocations: 0 / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.3093, allocations: 7.984 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.3094, allocations: 7.922 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3097, allocations: 79.7 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.3098, allocations: 19.81 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.3098, allocations: 4 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.3099, allocations: 4 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.3099, allocations: 11.98 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3099, allocations: 0 / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3102, allocations: 151.7 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.3103, allocations: 7.938 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.3103, allocations: 29.7 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3105, allocations: 95.98 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3105, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3105, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3105, allocations: 0 / 1.061 GB, free: 3.438 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.0003498/0.3109, allocations: 343.5 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3109, allocations: 12.03 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.3114, allocations: 32.89 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3115, allocations: 164.4 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3115, allocations: 384 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3115, allocations: 384 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3117, allocations: 50.22 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3117, allocations: 192 / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3117, allocations: 7.938 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3117, allocations: 4 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3118, allocations: 23.92 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.312, allocations: 165.5 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3122, allocations: 42.56 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.3123, allocations: 16.91 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3123, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3123, allocations: 30.56 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3123, allocations: 3.938 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003058/0.3126, allocations: 85.44 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3127, allocations: 51.41 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.3128, allocations: 101.8 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3128, allocations: 29.64 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3128, allocations: 80.14 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3129, allocations: 7.906 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.3129, allocations: 13.72 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.313, allocations: 311 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.3131, allocations: 15.98 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.3131, allocations: 11.98 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3133, allocations: 28.84 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3133, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.3134, allocations: 65.67 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3135, allocations: 4 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3135, allocations: 3.938 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3135, allocations: 7.984 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.3136, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3136, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.3137, allocations: 3.984 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3137, allocations: 8.031 kB / 1.062 GB, free: 1.516 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.236e-05/0.3138, allocations: 111.3 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.3138, allocations: 0 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.3138, allocations: 15.06 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3138, allocations: 0 / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3138, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3138, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.314, allocations: 157.7 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.314, allocations: 4 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.314, allocations: 7.984 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3141, allocations: 4 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3141, allocations: 3.938 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3141, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3141, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3143, allocations: 89.05 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.3144, allocations: 88.94 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3144, allocations: 3.938 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.3144, allocations: 4 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3145, allocations: 3.984 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3145, allocations: 192 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.3145, allocations: 83.27 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3145, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002115/0.3147, allocations: 24.03 kB / 1.063 GB, free: 0.832 MB / 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.0001724/0.3149, allocations: 111.2 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3151, allocations: 31.91 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3151, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.3152, allocations: 20.05 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3154, allocations: 4 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.3158, allocations: 126.4 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.316, allocations: 0.6731 MB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.693e-05/0.3161, allocations: 12.06 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.3161, allocations: 11.44 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3162, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.00313/0.3193, allocations: 0.6973 MB / 1.064 GB, free: 15.1 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/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