Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_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.001467/0.001467, 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.001351/0.001351, allocations: 192.7 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.427/2.427, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.88 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5242/0.5254, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00236/0.5278, allocations: 1.405 MB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.5287, allocations: 0.5889 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.5287, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.5287, allocations: 7.875 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.5288, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.5291, allocations: 103.5 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.5292, allocations: 31.86 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.5293, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.5293, allocations: 8 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.5294, allocations: 15.92 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5294, allocations: 4 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.5296, allocations: 147.8 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.5296, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.5297, allocations: 11.94 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.5299, allocations: 98.06 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5299, allocations: 7.938 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5299, allocations: 0 / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5299, allocations: 0 / 1.02 GB, free: 64 kB / 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.0004227/0.5303, allocations: 359.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5303, allocations: 12.03 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.5304, allocations: 34.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.5308, allocations: 32.89 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.393e-05/0.5309, allocations: 164.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5309, allocations: 4.375 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5309, allocations: 4.359 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.5311, allocations: 66.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5311, allocations: 7.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5312, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5312, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.5314, allocations: 55.88 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.5318, allocations: 276.9 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.5321, allocations: 58.47 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5322, allocations: 32.89 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5322, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.5323, allocations: 30.56 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5323, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004776/0.5327, allocations: 117.6 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5328, allocations: 51.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.5328, allocations: 101.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5329, allocations: 25.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5329, allocations: 84.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.5329, allocations: 11.84 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.533, allocations: 17.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.5331, allocations: 310.8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.5332, allocations: 28 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5333, allocations: 31.91 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5335, allocations: 68.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5336, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000277/0.5338, allocations: 85.55 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5339, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5339, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.5339, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.534, allocations: 20 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.534, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.5341, allocations: 11.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.5341, allocations: 0 / 1.022 GB, free: 13.75 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.163e-05/0.5342, allocations: 113.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.5342, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.5343, allocations: 7.125 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5343, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5343, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.5343, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.5344, allocations: 177.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5344, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5345, allocations: 15.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5346, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.5346, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5346, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5346, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.5349, allocations: 183.4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.5349, allocations: 81.05 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.535, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5351, allocations: 16.02 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.5351, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.5351, allocations: 4.172 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.5352, allocations: 83.27 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5352, allocations: 3.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002383/0.5354, allocations: 16 kB / 1.022 GB, free: 12.96 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 (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.0005804/0.536, allocations: 0.7396 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.5363, allocations: 59.97 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5363, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.5364, allocations: 31.91 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5367, allocations: 9.656 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.5373, allocations: 156.5 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.5374, allocations: 0.6768 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.05e-05/0.5375, allocations: 8 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.5376, allocations: 19.42 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5376, allocations: 4 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.046/2.584, allocations: 1.629 MB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/11.04, allocations: 8.062 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches