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.006197/0.006197, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001562/0.001563, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.76/2.76, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002521/0.2843, allocations: 1.412 MB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2854, allocations: 0.6006 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.2854, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.2855, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.2855, allocations: 3.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.2859, allocations: 91.56 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.286, allocations: 27.94 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.2861, allocations: 11.98 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.2862, allocations: 11.94 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.2862, allocations: 19.97 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2862, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.2865, allocations: 139.7 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.2865, allocations: 7.938 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2866, allocations: 8 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.2868, allocations: 104 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2868, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2868, allocations: 0 / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2868, allocations: 0 / 1.169 GB, free: 4.871 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.0004923/0.2873, allocations: 367.2 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2874, allocations: 8.031 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.2874, allocations: 30.75 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.2878, allocations: 32.84 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.288, allocations: 168.3 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.288, allocations: 4.312 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.288, allocations: 384 / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2882, allocations: 70.2 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2883, allocations: 3.938 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2883, allocations: 4 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2883, allocations: 0 / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2886, allocations: 51.94 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.289, allocations: 272.9 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.2893, allocations: 66.41 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2894, allocations: 36.89 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2894, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2895, allocations: 30.56 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2895, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005176/0.29, allocations: 113.6 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2901, allocations: 55.34 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.2902, allocations: 105.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2902, allocations: 25.7 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2902, allocations: 80.14 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.2903, allocations: 7.953 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.2903, allocations: 17.83 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2905, allocations: 314.8 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2906, allocations: 27.97 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2907, allocations: 23.97 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.291, allocations: 64.86 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.291, allocations: 3.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003117/0.2913, allocations: 85.58 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2914, allocations: 8 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2914, allocations: 4.031 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2914, allocations: 0 / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2915, allocations: 19.91 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2915, allocations: 0 / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.2916, allocations: 4 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2916, allocations: 4.172 kB / 1.171 GB, free: 2.562 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 8.521e-05/0.2917, allocations: 113.8 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2918, allocations: 8 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.2918, allocations: 7.109 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2918, allocations: 4 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2918, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2918, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.292, allocations: 165.5 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2921, allocations: 3.984 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2922, allocations: 15.98 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2922, allocations: 8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2922, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2922, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2922, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.2926, allocations: 191.3 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2927, allocations: 81.11 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2927, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2928, allocations: 7.984 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.2928, allocations: 0 / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2929, allocations: 7.984 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.2929, allocations: 75.28 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 4 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002573/0.2932, allocations: 11.94 kB / 1.171 GB, free: 1.77 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.0007587/0.2939, allocations: 0.7475 MB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.2943, allocations: 51.94 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2943, allocations: 4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2944, allocations: 27.97 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2947, allocations: 4.125 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.2953, allocations: 160.1 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2957, allocations: 0.6806 MB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.2958, allocations: 19.92 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.2958, allocations: 15.44 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2958, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3183, allocations: 1.654 MB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.27, allocations: 10.78 kB / 1.175 GB, free: 14.42 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