Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.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.287/2.287, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001228/0.001228, allocations: 186.6 kB / 498.1 MB, free: 5.738 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.654/1.654, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009576/0.0009575, allocations: 100.3 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003827, allocations: 10.5 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.4956, allocations: 150.7 MB / 1.37 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4959, allocations: 75.95 kB / 1.37 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006534/0.5024, allocations: 1.988 MB / 1.372 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5025, allocations: 0 / 1.372 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5025, allocations: 0 / 1.372 GB, free: 0.6875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004352/0.5029, allocations: 367.2 kB / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.503, allocations: 8.031 kB / 1.372 GB, free: 280 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.5034, allocations: 23.97 kB / 1.372 GB, free: 256 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5035, allocations: 171 kB / 1.373 GB, free: 44 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5035, allocations: 0 / 1.373 GB, free: 44 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5036, allocations: 4 kB / 1.373 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.5039, allocations: 69.7 kB / 1.373 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.5039, allocations: 0 / 1.373 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5039, allocations: 3.938 kB / 1.373 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.5039, allocations: 3.938 kB / 1.373 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.5042, allocations: 67.88 kB / 1.373 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.5047, allocations: 276.8 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.505, allocations: 66.53 kB / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.505, allocations: 0 / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.505, allocations: 30.56 kB / 1.373 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.505, allocations: 0 / 1.373 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0005135/0.5055, allocations: 137.6 kB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5056, allocations: 59.39 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.5057, allocations: 96.97 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5057, allocations: 29.7 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.5058, allocations: 84.14 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5058, allocations: 3.906 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5058, allocations: 3.938 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5059, allocations: 310.8 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5061, allocations: 39.97 kB / 1.374 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5062, allocations: 31.97 kB / 1.374 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5063, allocations: 32.03 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5063, allocations: 0 / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003068/0.5067, allocations: 105.6 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5067, allocations: 5.094 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5067, allocations: 0 / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5067, allocations: 4 kB / 1.374 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.5069, allocations: 11.98 kB / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5069, allocations: 0 / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.507, allocations: 19.97 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.507, allocations: 0 / 1.374 GB, free: 14.45 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 0.0001209/0.5072, allocations: 113.8 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.5072, allocations: 3.984 kB / 1.374 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.5072, allocations: 3.125 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5073, allocations: 4 kB / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5073, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5073, allocations: 0 / 1.374 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.5075, allocations: 173.6 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5075, allocations: 0 / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5076, allocations: 15.98 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5076, allocations: 3.984 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5077, allocations: 0 / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5077, allocations: 4 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5077, allocations: 3.938 kB / 1.374 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.5081, allocations: 199.4 kB / 1.374 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.5081, allocations: 85.02 kB / 1.375 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.5081, allocations: 4.031 kB / 1.375 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5083, allocations: 15.98 kB / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.5083, allocations: 0 / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.5083, allocations: 0 / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.5084, allocations: 83.27 kB / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.673e-06/0.5084, allocations: 0 / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002476/0.5087, allocations: 19.88 kB / 1.375 GB, free: 13.64 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.0001931/0.5088, allocations: 123 kB / 1.375 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.5092, allocations: 67.88 kB / 1.375 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5092, allocations: 4.062 kB / 1.375 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.5093, allocations: 35.97 kB / 1.375 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.5095, allocations: 3.953 kB / 1.375 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.51, allocations: 140.7 kB / 1.375 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.5102, allocations: 0.6809 MB / 1.376 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.871e-05/0.5103, allocations: 4 kB / 1.376 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.5104, allocations: 15.42 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5104, allocations: 3.938 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.00306/0.5135, allocations: 0.6886 MB / 1.376 GB, free: 11.81 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches