Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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.006956/0.006956, allocations: 101.6 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.001297/0.001297, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.58 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2441, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002248/0.2464, allocations: 1.285 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.2473, allocations: 0.5712 MB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.2474, allocations: 4 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.2474, allocations: 3.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.2475, allocations: 7.922 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.248, allocations: 91.56 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.2481, allocations: 23.88 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2481, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.2482, allocations: 4 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.2482, allocations: 11.92 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.2482, allocations: 0 / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2486, allocations: 147.8 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2486, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.2487, allocations: 7.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.2489, allocations: 94.7 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2489, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2489, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2489, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 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.0004209/0.2493, allocations: 344.3 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2494, allocations: 12.03 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2494, allocations: 34.75 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.2499, allocations: 28.89 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.25, allocations: 168.2 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2501, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2501, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2503, allocations: 50.22 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2503, allocations: 11.94 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2503, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2503, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2504, allocations: 27.91 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.2506, allocations: 157.6 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2508, allocations: 38.56 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.2509, allocations: 20.91 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.2509, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.251, allocations: 30.56 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.251, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00032/0.2513, allocations: 81.53 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2513, allocations: 51.41 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.2514, allocations: 101.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2514, allocations: 25.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.2515, allocations: 84.14 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.2515, allocations: 7.844 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2515, allocations: 21.7 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2517, allocations: 315 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.2517, allocations: 11.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.2518, allocations: 8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2519, allocations: 32.83 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2519, allocations: 4.062 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.2521, allocations: 61.61 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2521, allocations: 7.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2521, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2522, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2523, allocations: 11.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2523, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.2524, allocations: 4.031 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2524, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 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.759e-05/0.2524, allocations: 113.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.2525, allocations: 7.875 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.2525, allocations: 7.125 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2525, allocations: 4.188 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2525, allocations: 4 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2525, allocations: 3.984 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2527, allocations: 157.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2527, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.2527, allocations: 7.984 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2528, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2528, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2528, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2528, allocations: 7.922 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.253, allocations: 88.95 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-05/0.2531, allocations: 85.09 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2531, allocations: 3.938 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.2531, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.2532, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2532, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.2532, allocations: 87.27 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2532, allocations: 4.031 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002033/0.2534, allocations: 8 kB / 1.092 GB, free: 13.12 MB / 0.8575 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.0005928/0.254, allocations: 0.638 MB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2542, allocations: 27.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2542, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.2543, allocations: 19.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2546, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.2551, allocations: 160.4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2554, allocations: 0.669 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.836e-05/0.2555, allocations: 11.94 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.2555, allocations: 15.42 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of SimCode: time 1.753e-06/0.2555, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2744, allocations: 1.573 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.66, allocations: 9.375 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches