Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001284/0.001288, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 59.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6781, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003347/0.6815, allocations: 1.287 MB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.6828, allocations: 0.5578 MB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.6828, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.6829, allocations: 3.938 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.683, allocations: 15.91 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.6837, allocations: 91.58 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.6838, allocations: 19.86 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.6838, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.6839, allocations: 8 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.684, allocations: 8 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.684, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.6844, allocations: 147.8 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.6845, allocations: 0 / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.6845, allocations: 7.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.6847, allocations: 93.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.6848, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6848, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.6848, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 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.0005215/0.6853, allocations: 349.1 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6854, allocations: 12.03 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.6859, allocations: 28.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.686, allocations: 168.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6861, allocations: 384 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.6861, allocations: 8.312 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.6863, allocations: 46.23 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6863, allocations: 4.188 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6863, allocations: 3.938 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6863, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.6865, allocations: 23.97 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.6867, allocations: 157.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.6869, allocations: 46.52 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.6869, allocations: 20.91 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.687, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.687, allocations: 34.55 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.687, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003447/0.6874, allocations: 85.44 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.6874, allocations: 51.41 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.6875, allocations: 97.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6875, allocations: 25.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.6876, allocations: 88.14 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6876, allocations: 3.906 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.6877, allocations: 17.83 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.6878, allocations: 314.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.6878, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.6879, allocations: 15.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.688, allocations: 24.91 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.688, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.6882, allocations: 61.61 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6883, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6883, allocations: 7.922 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6883, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.6884, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6884, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.6885, allocations: 12.02 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6885, allocations: 4 kB / 1.021 GB, free: 14.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.6886, allocations: 105.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.6886, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.6887, allocations: 7.062 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6887, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6887, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6887, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.6888, allocations: 153.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6888, allocations: 3.938 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.6889, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6889, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.6889, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6889, allocations: 8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6889, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.6891, allocations: 85.05 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.6892, allocations: 93 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.6892, allocations: 3.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.6893, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.6893, allocations: 11.92 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.6893, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.6894, allocations: 83.31 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6894, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002184/0.6896, allocations: 12 kB / 1.022 GB, free: 13.69 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 (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.0002008/0.6898, allocations: 116.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.69, allocations: 31.97 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.69, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.6901, allocations: 19.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.6903, allocations: 8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.6908, allocations: 106.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.6911, allocations: 0.6768 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.752e-05/0.6912, allocations: 16 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.6912, allocations: 7.438 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6912, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003087/0.6943, allocations: 0.7448 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches