Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.006393/0.006393, allocations: 101 kB / 15.73 MB, free: 6.055 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.001709/0.001709, allocations: 192.3 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.72/2.72, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6866, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002504/0.6892, allocations: 1.413 MB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.6896, allocations: 198 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.6897, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.6897, allocations: 11.92 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.486e-05/0.6898, allocations: 3.938 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.69, allocations: 27.91 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.69, allocations: 23.92 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.6901, allocations: 7.984 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.6902, allocations: 15.92 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.6902, allocations: 11.94 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.6902, allocations: 0 / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.6903, allocations: 27.97 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.6904, allocations: 7.984 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.6904, allocations: 11.94 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.6905, allocations: 30.64 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6905, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6905, allocations: 0 / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.6905, allocations: 0 / 1.168 GB, free: 2.004 MB / 0.8887 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.0004584/0.691, allocations: 340.3 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.691, allocations: 16.86 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.6911, allocations: 34.75 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.6912, allocations: 12.89 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.6913, allocations: 164.3 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.6914, allocations: 384 / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.6914, allocations: 4.375 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.6916, allocations: 46.23 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6916, allocations: 3.938 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.6916, allocations: 4 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6916, allocations: 0 / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.6918, allocations: 35.95 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.6921, allocations: 248.9 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.6923, allocations: 46.47 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.6924, allocations: 20.91 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.6924, allocations: 4 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.6924, allocations: 30.56 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6924, allocations: 4 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.00036/0.6928, allocations: 85.53 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6928, allocations: 51.41 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.6929, allocations: 106 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.693, allocations: 25.7 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.693, allocations: 84.14 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.693, allocations: 3.953 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.6931, allocations: 13.72 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6932, allocations: 318.8 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.6933, allocations: 11.98 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.6934, allocations: 23.98 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.6936, allocations: 40.81 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6936, allocations: 3.938 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002156/0.6938, allocations: 61.61 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6938, allocations: 8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.6938, allocations: 4.094 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6939, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.694, allocations: 7.984 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.694, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.694, allocations: 15.86 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.694, allocations: 8 kB / 1.17 GB, free: 15.92 MB / 0.9044 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.329e-05/0.6941, allocations: 113.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.6942, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.6944, allocations: 80.77 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6944, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.6944, allocations: 7.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6945, allocations: 4.172 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.6946, allocations: 157.6 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.6947, allocations: 3.984 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.6947, allocations: 8 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.6947, allocations: 3.984 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.6948, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6948, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6948, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.695, allocations: 175.4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.6951, allocations: 77.11 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.6951, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.6952, allocations: 11.98 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6953, allocations: 8 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.6953, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.6953, allocations: 79.28 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6953, allocations: 3.938 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002273/0.6955, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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.0006642/0.6962, allocations: 0.7007 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.6965, allocations: 39.95 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6965, allocations: 4 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.6966, allocations: 19.92 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6968, allocations: 8.625 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.6973, allocations: 148.2 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6976, allocations: 0.6729 MB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.6976, allocations: 3.984 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.6977, allocations: 11.44 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.6977, allocations: 8 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.7195, allocations: 1.367 MB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.557, allocations: 25.31 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches