Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001565/0.001565, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004247, allocations: 12 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8823, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001535/0.8839, allocations: 1.129 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.8848, allocations: 0.5271 MB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.8848, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.8848, allocations: 4 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.8849, allocations: 4 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.8852, allocations: 91.66 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.8852, allocations: 15.98 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.8853, allocations: 3.984 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.8853, allocations: 4 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.8854, allocations: 15.92 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.8854, allocations: 8 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.8857, allocations: 151.8 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-06/0.8857, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.8857, allocations: 29.7 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.8859, allocations: 73.81 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.8859, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.61e-07/0.8859, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.8859, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 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.0004073/0.8863, allocations: 367.2 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.8863, allocations: 11.98 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.8867, allocations: 27.95 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.8868, allocations: 159.1 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.8869, allocations: 7.953 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.8869, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.8871, allocations: 77.52 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.8871, allocations: 0 / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.8871, allocations: 0 / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8871, allocations: 4 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.8874, allocations: 67.92 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.8878, allocations: 276.8 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.888, allocations: 62.53 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8881, allocations: 7.922 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.8881, allocations: 34.62 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8881, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004947/0.8886, allocations: 133.7 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.8886, allocations: 51.41 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.8887, allocations: 97.84 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.8888, allocations: 29.7 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.8888, allocations: 80.14 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.8888, allocations: 7.906 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.8889, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.889, allocations: 322.7 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.8891, allocations: 39.94 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.8893, allocations: 27.97 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.8894, allocations: 36.03 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8894, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002826/0.8897, allocations: 101.6 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8897, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.8897, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.8897, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8899, allocations: 15.98 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.8899, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.955e-05/0.89, allocations: 16.02 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.89, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 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.485e-05/0.8901, allocations: 113.8 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.8901, allocations: 4 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.8902, allocations: 7.109 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8902, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8902, allocations: 3.938 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.8902, allocations: 4 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.8904, allocations: 177.4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8904, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.8905, allocations: 15.98 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8905, allocations: 7.938 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8905, allocations: 3.984 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8905, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8905, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.8909, allocations: 195.5 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.8909, allocations: 85.03 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.8909, allocations: 4.031 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.8911, allocations: 11.98 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.8911, allocations: 4 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.8911, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.8912, allocations: 79.28 kB / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.292e-06/0.8912, allocations: 0 / 1.025 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002381/0.8914, allocations: 19.92 kB / 1.025 GB, free: 11.97 MB / 0.7794 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.0001714/0.8916, allocations: 115.2 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.8919, allocations: 67.94 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8919, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.892, allocations: 39.95 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.8922, allocations: 1.719 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.8927, allocations: 148.6 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.893, allocations: 0.6809 MB / 1.026 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.511e-05/0.8931, allocations: 7.938 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.8931, allocations: 11.44 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8931, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.00285/0.896, allocations: 0.6927 MB / 1.027 GB, free: 10.16 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches