Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.008289/0.008289, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001733/0.001733, allocations: 193 kB / 16.67 MB, free: 5.93 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 76.48 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3644, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002725/0.3672, allocations: 1.418 MB / 1.243 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.3678, allocations: 195.4 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.3678, allocations: 0 / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.3679, allocations: 7.938 kB / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.3679, allocations: 11.92 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3682, allocations: 19.91 kB / 1.243 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.3683, allocations: 23.92 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3684, allocations: 4 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.3684, allocations: 15.92 kB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.3685, allocations: 8 kB / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3685, allocations: 4 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.3686, allocations: 39.89 kB / 1.243 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3686, allocations: 7.938 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.3687, allocations: 4 kB / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3688, allocations: 40.12 kB / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3688, allocations: 0 / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3688, allocations: 0 / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3689, allocations: 0 / 1.243 GB, free: 7.508 MB / 0.9669 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.0005142/0.3694, allocations: 341.3 kB / 1.243 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3694, allocations: 8.031 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.733e-05/0.3695, allocations: 34.73 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3696, allocations: 12.89 kB / 1.244 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3698, allocations: 164.3 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3698, allocations: 4.375 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.3698, allocations: 384 / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.37, allocations: 50.23 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.37, allocations: 3.938 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.37, allocations: 0 / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.37, allocations: 3.938 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.3702, allocations: 39.95 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3706, allocations: 245 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3708, allocations: 46.42 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.3709, allocations: 20.91 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3709, allocations: 8 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.371, allocations: 30.56 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.371, allocations: 0 / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003857/0.3714, allocations: 85.59 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3714, allocations: 55.34 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3715, allocations: 102.1 kB / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3716, allocations: 25.7 kB / 1.244 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.3716, allocations: 85.62 kB / 1.244 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3716, allocations: 11.89 kB / 1.244 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3717, allocations: 9.719 kB / 1.244 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3719, allocations: 314.8 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.372, allocations: 19.97 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.372, allocations: 19.98 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3722, allocations: 36.83 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3722, allocations: 3.938 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.3724, allocations: 69.59 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3725, allocations: 4 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3725, allocations: 144 / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3725, allocations: 7.984 kB / 1.245 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3726, allocations: 15.92 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3726, allocations: 0 / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.3726, allocations: 7.984 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3727, allocations: 4 kB / 1.245 GB, free: 5.422 MB / 0.9669 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.905e-05/0.3727, allocations: 113.8 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3728, allocations: 4 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.373, allocations: 80.77 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.373, allocations: 0 / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3731, allocations: 0 / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3731, allocations: 0 / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3732, allocations: 157.6 kB / 1.245 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3733, allocations: 3.938 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.3733, allocations: 15.92 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3733, allocations: 0 / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3734, allocations: 4 kB / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3734, allocations: 4 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3734, allocations: 0 / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3736, allocations: 171.4 kB / 1.246 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3737, allocations: 77.11 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3737, allocations: 4 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.3738, allocations: 8 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3738, allocations: 7.984 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.3739, allocations: 0 / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.3739, allocations: 79.28 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3739, allocations: 0 / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002213/0.3741, allocations: 4 kB / 1.246 GB, free: 4.605 MB / 0.9669 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.0006167/0.3748, allocations: 0.7123 MB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.375, allocations: 39.95 kB / 1.246 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.375, allocations: 0 / 1.246 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.3751, allocations: 19.92 kB / 1.246 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3754, allocations: 12.05 kB / 1.246 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3759, allocations: 152.1 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3762, allocations: 0.6729 MB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.3762, allocations: 0 / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.3763, allocations: 19.42 kB / 1.247 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3763, allocations: 0 / 1.247 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3979, allocations: 1.367 MB / 1.249 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.133, allocations: 5 kB / 1.249 GB, free: 1.652 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches