Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_10_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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 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.00117/0.00117, allocations: 197.2 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.266 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.511/2.511, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5526, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002595/0.5552, allocations: 1.293 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.5562, allocations: 0.5694 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.5562, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.5563, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.5563, allocations: 3.938 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.5568, allocations: 95.56 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.5568, allocations: 19.88 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.5569, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.5569, allocations: 15.92 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.557, allocations: 8 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.557, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.5573, allocations: 143.8 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.5573, allocations: 0 / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.5574, allocations: 15.91 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.5576, allocations: 94.03 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5576, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5576, allocations: 0 / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.5576, allocations: 0 / 1.02 GB, free: 220 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003814/0.558, allocations: 339.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.558, allocations: 16.03 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.5581, allocations: 34.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.5585, allocations: 28.89 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5586, allocations: 164.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5586, allocations: 384 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5586, allocations: 4.375 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5588, allocations: 54.22 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5588, allocations: 7.875 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5589, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5589, allocations: 3.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.559, allocations: 19.98 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.5592, allocations: 153.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.5593, allocations: 42.55 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.5594, allocations: 20.91 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.5595, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5595, allocations: 30.56 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.5595, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003121/0.5598, allocations: 85.44 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5599, allocations: 51.41 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.5599, allocations: 101.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5599, allocations: 29.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.56, allocations: 80.14 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.56, allocations: 8.031 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.5601, allocations: 13.72 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.5602, allocations: 322.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.5602, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.5603, allocations: 15.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5604, allocations: 36.83 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5605, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001862/0.5606, allocations: 61.67 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5607, allocations: 7.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5607, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5607, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5608, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5608, allocations: 8.031 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.5609, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5609, allocations: 0 / 1.021 GB, free: 14.26 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.748e-05/0.561, allocations: 109.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.561, allocations: 7.922 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.561, allocations: 3.125 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.561, allocations: 192 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5611, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5611, allocations: 3.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.5612, allocations: 153.7 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5612, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.5613, allocations: 11.92 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5613, allocations: 7.875 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.5613, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5613, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5613, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.5615, allocations: 85.09 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.5616, allocations: 89.02 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.5616, allocations: 11.92 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.5617, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5617, allocations: 7.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.5617, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.5618, allocations: 79.31 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5618, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000211/0.562, allocations: 15.98 kB / 1.022 GB, free: 13.57 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.0004921/0.5625, allocations: 0.641 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.5627, allocations: 31.97 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5627, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.5628, allocations: 15.92 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.563, allocations: 12.12 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.5635, allocations: 144.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.5637, allocations: 0.6768 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.645e-05/0.5638, allocations: 11.94 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.5638, allocations: 19.42 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5639, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.5981, allocations: 1.547 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.82, allocations: 17.8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches