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.00186/0.00186, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.486/2.486, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5333, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002767/0.5361, allocations: 1.41 MB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.5365, allocations: 207.5 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.5366, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.5366, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.5367, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.5369, allocations: 27.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.537, allocations: 23.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.5371, allocations: 7.984 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.5371, allocations: 11.94 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.5371, allocations: 15.92 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.5372, allocations: 3.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.5373, allocations: 23.98 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.5373, allocations: 4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.5373, allocations: 15.92 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.5374, allocations: 34.2 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.5374, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5374, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5375, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 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.0003892/0.5378, allocations: 343.4 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5379, allocations: 12.03 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.5379, allocations: 30.75 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.538, allocations: 12.88 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.5381, allocations: 168.3 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5382, allocations: 4.312 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5382, allocations: 4.375 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5384, allocations: 46.23 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5384, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.5384, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5384, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.5386, allocations: 31.91 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.5389, allocations: 249 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.539, allocations: 42.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.5391, allocations: 16.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.5391, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5392, allocations: 46.48 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5392, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003322/0.5395, allocations: 73.75 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5396, allocations: 55.39 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.5396, allocations: 101.9 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5396, allocations: 25.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.5397, allocations: 84.14 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.5397, allocations: 3.906 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.5397, allocations: 17.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.5398, allocations: 310.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.5399, allocations: 20.02 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.54, allocations: 15.98 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5402, allocations: 48.75 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5402, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.5404, allocations: 65.72 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5404, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5404, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.5404, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.5405, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5405, allocations: 3.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.5406, allocations: 11.84 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.5406, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 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 6.256e-05/0.5407, allocations: 113.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.5407, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.5409, allocations: 84.88 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5409, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.541, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.541, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.5411, allocations: 169.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5411, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.5412, allocations: 11.98 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5412, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5412, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5412, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5412, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5415, allocations: 175.4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.5415, allocations: 77.11 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.5415, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.5416, allocations: 7.984 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.5416, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.5417, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.5417, allocations: 87.27 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5417, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002183/0.5419, allocations: 7.906 kB / 1.022 GB, free: 13.77 MB / 0.7794 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.0004812/0.5424, allocations: 0.7007 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5426, allocations: 39.95 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5426, allocations: 8.062 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.5427, allocations: 15.98 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.543, allocations: 7.984 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.5434, allocations: 138.5 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.5436, allocations: 0.6768 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.5437, allocations: 8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.5437, allocations: 11.44 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5437, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.5594, allocations: 1.336 MB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.457, allocations: 11.7 kB / 1.025 GB, free: 10.86 MB / 0.7794 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