Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 185 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 223.2 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 100.2 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 13.81 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.496, allocations: 150.2 MB / 1.37 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4963, allocations: 83.94 kB / 1.37 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005491/0.5018, allocations: 1.806 MB / 1.371 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5018, allocations: 3.938 kB / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5018, allocations: 0 / 1.371 GB, free: 1.277 MB / 0.8698 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.0003673/0.5022, allocations: 347.3 kB / 1.372 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5023, allocations: 8.031 kB / 1.372 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.5027, allocations: 31.86 kB / 1.372 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5028, allocations: 171 kB / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5028, allocations: 0 / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.5029, allocations: 0 / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.503, allocations: 45.66 kB / 1.372 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5031, allocations: 7.938 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5031, allocations: 4 kB / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5031, allocations: 0 / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.5032, allocations: 19.98 kB / 1.372 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.5034, allocations: 165.6 kB / 1.372 GB, free: 360 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.5036, allocations: 38.56 kB / 1.372 GB, free: 312 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.5036, allocations: 0 / 1.372 GB, free: 312 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5036, allocations: 38.62 kB / 1.372 GB, free: 264 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.5036, allocations: 0 / 1.372 GB, free: 264 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003134/0.504, allocations: 69.72 kB / 1.372 GB, free: 188 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.504, allocations: 63.39 kB / 1.372 GB, free: 112 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.5041, allocations: 85 kB / 1.372 GB, free: 20 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.5042, allocations: 29.7 kB / 1.373 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.5042, allocations: 84.14 kB / 1.373 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5042, allocations: 3.906 kB / 1.373 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5042, allocations: 0 / 1.373 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5044, allocations: 314.8 kB / 1.373 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.5045, allocations: 23.92 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.5045, allocations: 11.92 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.5046, allocations: 15.98 kB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5046, allocations: 0 / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001558/0.5048, allocations: 57.61 kB / 1.373 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5048, allocations: 12.09 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5048, allocations: 0 / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5048, allocations: 0 / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5049, allocations: 7.984 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5049, allocations: 0 / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.505, allocations: 8 kB / 1.373 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.505, allocations: 0 / 1.373 GB, free: 15.44 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.5051, allocations: 113.8 kB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.5051, allocations: 4 kB / 1.373 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.5052, allocations: 7.125 kB / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5052, allocations: 0 / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5052, allocations: 0 / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5052, allocations: 0 / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.5053, allocations: 161.6 kB / 1.373 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5053, allocations: 0 / 1.373 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.5054, allocations: 11.98 kB / 1.373 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5054, allocations: 192 / 1.373 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5054, allocations: 4 kB / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5054, allocations: 3.984 kB / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5055, allocations: 0 / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.5056, allocations: 96.89 kB / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.5057, allocations: 85.09 kB / 1.373 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.5057, allocations: 0 / 1.373 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.5058, allocations: 8.031 kB / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5058, allocations: 0 / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5058, allocations: 0 / 1.374 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.5059, allocations: 83.27 kB / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5059, allocations: 0 / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001987/0.5061, allocations: 19.94 kB / 1.374 GB, free: 14.75 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.5063, allocations: 123 kB / 1.374 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.5065, allocations: 35.91 kB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5065, allocations: 0 / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.5065, allocations: 15.98 kB / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.5067, allocations: 7.938 kB / 1.374 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.5072, allocations: 128.7 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.5074, allocations: 0.677 MB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.683e-05/0.5075, allocations: 8 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.5076, allocations: 15.42 kB / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5076, allocations: 0 / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.002838/0.5104, allocations: 0.6898 MB / 1.375 GB, free: 13 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches