Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008012/0.008012, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001823/0.001823, allocations: 199.5 kB / 16.68 MB, free: 5.961 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.642/2.642, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2781, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002468/0.2806, allocations: 1.407 MB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.2816, allocations: 0.5967 MB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.2817, allocations: 4 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.2817, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.2818, allocations: 7.922 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.2822, allocations: 91.56 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.2823, allocations: 31.92 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.2824, allocations: 8 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.2824, allocations: 15.92 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.2825, allocations: 15.98 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2825, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.2828, allocations: 139.7 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.2828, allocations: 11.92 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.2829, allocations: 11.94 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2831, allocations: 95.98 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2831, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2831, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2831, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 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.0004472/0.2836, allocations: 367.2 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2836, allocations: 8.031 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.2836, allocations: 34.75 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.2841, allocations: 32.86 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.2842, allocations: 168.4 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2842, allocations: 4.312 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2842, allocations: 384 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2845, allocations: 70.2 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2845, allocations: 7.938 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2845, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2845, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.2848, allocations: 51.94 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.2852, allocations: 276.9 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2854, allocations: 66.41 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.2856, allocations: 32.89 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2856, allocations: 8 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2856, allocations: 30.56 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2857, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004996/0.2862, allocations: 113.7 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2862, allocations: 55.34 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.2863, allocations: 105.8 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2863, allocations: 25.7 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.2863, allocations: 80.14 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2864, allocations: 3.953 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.2864, allocations: 21.7 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.2865, allocations: 314.9 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2866, allocations: 27.97 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2868, allocations: 23.97 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.287, allocations: 56.88 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/0.287, allocations: 3.938 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003029/0.2874, allocations: 89.62 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2874, allocations: 11.94 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2874, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2874, allocations: 4.031 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2875, allocations: 15.92 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2876, allocations: 0 / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.2876, allocations: 7.984 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2877, allocations: 7.938 kB / 1.171 GB, free: 2.516 MB / 0.92 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.29e-05/0.2877, allocations: 115.7 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.2878, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2878, allocations: 15.12 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2878, allocations: 4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2878, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2878, allocations: 0 / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.288, allocations: 161.6 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.288, allocations: 4 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.2881, allocations: 15.97 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2882, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2882, allocations: 8 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2882, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2882, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.2885, allocations: 187.5 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.2886, allocations: 89.12 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2886, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2887, allocations: 11.98 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2888, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.2888, allocations: 4 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.2888, allocations: 83.27 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2888, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002555/0.2891, allocations: 11.94 kB / 1.171 GB, free: 1.727 MB / 0.92 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.0006386/0.2897, allocations: 0.728 MB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.2901, allocations: 67.91 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2901, allocations: 0 / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2902, allocations: 31.95 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2905, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.2911, allocations: 164.2 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2913, allocations: 0.6729 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.2914, allocations: 19.86 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.2915, allocations: 19.31 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.2915, allocations: 4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.3099, allocations: 1.66 MB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.837, allocations: 3.953 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches