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.001026/0.001026, allocations: 99.78 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.001213/0.001213, allocations: 177.3 kB / 15.95 MB, free: 216 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 8 kB / 0.8708 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 153.6 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00181/1.008, allocations: 0.9955 MB / 1.022 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001265/1.009, allocations: 0.5076 MB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/1.009, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/1.009, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/1.009, allocations: 7.984 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/1.009, allocations: 91.72 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.979e-05/1.01, allocations: 15.92 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/1.01, allocations: 0 / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/1.01, allocations: 7.984 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/1.01, allocations: 15.92 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/1.01, allocations: 0 / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/1.01, allocations: 151.8 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/1.01, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/1.01, allocations: 29.7 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/1.01, allocations: 61.84 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/1.01, allocations: 3.938 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/1.01, allocations: 8 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.01, allocations: 0 / 1.023 GB, free: 15.26 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004152/1.011, allocations: 347.2 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.011, allocations: 11.98 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/1.011, allocations: 23.97 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.011, allocations: 163 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.011, allocations: 11.95 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.011, allocations: 4 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/1.012, allocations: 49.66 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/1.012, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.012, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.012, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/1.012, allocations: 23.97 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/1.012, allocations: 161.6 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/1.012, allocations: 38.55 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.012, allocations: 8.047 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.012, allocations: 30.56 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/1.012, allocations: 4 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003694/1.013, allocations: 73.59 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.013, allocations: 51.41 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/1.013, allocations: 97.86 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.013, allocations: 25.7 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/1.013, allocations: 80.27 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/1.013, allocations: 7.906 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/1.013, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002649/1.013, allocations: 322.8 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/1.013, allocations: 8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/1.013, allocations: 15.98 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/1.013, allocations: 19.98 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.013, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001673/1.013, allocations: 61.62 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.013, allocations: 4 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.013, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.014, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.014, allocations: 11.92 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.014, allocations: 7.938 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/1.014, allocations: 4.031 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.014, allocations: 3.984 kB / 1.024 GB, free: 13.41 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.178e-05/1.014, allocations: 111.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/1.014, allocations: 7.859 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/1.014, allocations: 7.125 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.014, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.014, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.014, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.014, allocations: 153.7 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.014, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/1.014, allocations: 7.984 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.014, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.014, allocations: 7.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.014, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/1.014, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/1.014, allocations: 85.05 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/1.014, allocations: 85.09 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/1.014, allocations: 192 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/1.015, allocations: 3.953 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/1.015, allocations: 7.984 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.015, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.783e-05/1.015, allocations: 87.3 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.015, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001985/1.015, allocations: 12 kB / 1.025 GB, free: 12.73 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.0001925/1.015, allocations: 115.2 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001828/1.015, allocations: 27.97 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.015, allocations: 3.938 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/1.015, allocations: 23.98 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/1.015, allocations: 4.562 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/1.016, allocations: 120.9 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/1.016, allocations: 0.6771 MB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.428e-05/1.016, allocations: 15.94 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/1.016, allocations: 11.42 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/1.016, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.003182/1.019, allocations: 0.7102 MB / 1.026 GB, free: 10.99 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches