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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_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.007368/0.007368, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001752/0.001752, allocations: 196.6 kB / 16.68 MB, free: 6.352 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.732/2.732, allocations: 469.4 MB / 0.7422 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 67.84 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2865, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002473/0.289, allocations: 1.417 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.29, allocations: 0.5804 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.2901, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.2901, allocations: 3.938 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.2902, allocations: 7.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.2906, allocations: 107.5 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.2907, allocations: 19.92 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.2908, allocations: 8 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.2908, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.2909, allocations: 19.91 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2909, allocations: 7.938 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.2912, allocations: 147.7 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.2912, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2912, allocations: 11.94 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.2915, allocations: 107.7 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2915, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2915, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2915, allocations: 4 kB / 1.222 GB, free: 12.22 MB / 0.9825 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.000455/0.2919, allocations: 352.8 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.292, allocations: 12.03 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.292, allocations: 30.75 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.2925, allocations: 36.84 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2926, allocations: 160.4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.2926, allocations: 384 / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.2926, allocations: 4.375 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2929, allocations: 70.14 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2929, allocations: 3.938 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2929, allocations: 4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2929, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.2932, allocations: 51.94 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.2937, allocations: 272.9 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.2939, allocations: 66.41 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2941, allocations: 32.89 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2941, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2941, allocations: 42.5 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2941, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005524/0.2947, allocations: 113.6 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2947, allocations: 55.52 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.2948, allocations: 101.9 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2948, allocations: 25.7 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2949, allocations: 84.14 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2949, allocations: 15.83 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.295, allocations: 13.7 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.2951, allocations: 314.8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2952, allocations: 27.97 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2954, allocations: 31.97 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2956, allocations: 52.8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2956, allocations: 7.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003142/0.296, allocations: 85.7 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.296, allocations: 4 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.296, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.296, allocations: 192 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2962, allocations: 23.84 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2962, allocations: 4.031 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.2963, allocations: 11.98 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2963, allocations: 0 / 1.224 GB, free: 9.918 MB / 0.9825 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.856e-05/0.2964, allocations: 114.3 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.2964, allocations: 7.984 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.2965, allocations: 3.125 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2965, allocations: 4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2965, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2965, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2967, allocations: 177.5 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2967, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2968, allocations: 11.98 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2968, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2968, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2968, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.2968, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.2972, allocations: 199.3 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2972, allocations: 77.11 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2973, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2974, allocations: 12.02 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2974, allocations: 4 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2974, allocations: 3.984 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.2975, allocations: 79.28 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002582/0.2978, allocations: 19.94 kB / 1.225 GB, free: 9.129 MB / 0.9825 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.0006576/0.2984, allocations: 0.7313 MB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.2988, allocations: 63.91 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2988, allocations: 0 / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2989, allocations: 27.97 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2993, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.2999, allocations: 172.2 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3001, allocations: 0.6768 MB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.3002, allocations: 7.938 kB / 1.226 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.3002, allocations: 19.42 kB / 1.226 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3002, allocations: 0 / 1.226 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.3164, allocations: 1.664 MB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.645, allocations: 18.69 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches