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.001438/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001853/0.001853, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.449/2.449, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001554, allocations: 63.89 kB / 0.8688 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6575, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003212/0.6608, allocations: 1.472 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6619, allocations: 0.5889 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.6619, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.662, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.6621, allocations: 7.922 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.6625, allocations: 87.7 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.6626, allocations: 27.81 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.6627, allocations: 11.98 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.6627, allocations: 4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.6628, allocations: 15.92 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.6628, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.663, allocations: 147.8 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.6631, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.6631, allocations: 11.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.6633, allocations: 106 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6633, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6633, allocations: 4 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6633, allocations: 4 kB / 1.019 GB, free: 228 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.0004848/0.6638, allocations: 355.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6639, allocations: 12.03 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.6639, allocations: 42.72 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.6644, allocations: 24.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.6646, allocations: 168.3 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.6646, allocations: 4.375 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.6646, allocations: 384 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.6649, allocations: 70.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6649, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.6649, allocations: 3.984 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6649, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.6652, allocations: 55.94 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.6657, allocations: 265 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.666, allocations: 66.41 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.6661, allocations: 32.89 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.6661, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.6662, allocations: 30.56 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.6662, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005316/0.6667, allocations: 117.6 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6668, allocations: 51.41 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.6668, allocations: 97.86 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.6669, allocations: 29.64 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.6669, allocations: 92.27 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.667, allocations: 15.77 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.667, allocations: 9.719 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6672, allocations: 318.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.6673, allocations: 19.98 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.6674, allocations: 35.97 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.6677, allocations: 56.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6677, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000298/0.668, allocations: 89.61 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.668, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.668, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.668, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.6682, allocations: 15.92 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6682, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.6683, allocations: 11.98 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.6683, allocations: 4.031 kB / 1.021 GB, free: 13.92 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 8.473e-05/0.6684, allocations: 114.3 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.6684, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.6685, allocations: 3.125 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6685, allocations: 3.984 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6685, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6685, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.6687, allocations: 177.5 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6687, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6688, allocations: 11.98 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6689, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.6689, allocations: 4.172 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6689, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6689, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.6693, allocations: 191.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.6693, allocations: 81.05 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.6693, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6695, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.6695, allocations: 3.984 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.6695, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.6696, allocations: 83.31 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6696, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002417/0.6698, allocations: 20 kB / 1.022 GB, free: 13.12 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.0007297/0.6706, allocations: 0.7318 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.6709, allocations: 59.88 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6709, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.671, allocations: 32.06 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.6713, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.6719, allocations: 168.4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.6722, allocations: 0.6807 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.54e-05/0.6723, allocations: 8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.6723, allocations: 15.42 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6723, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.6854, allocations: 1.509 MB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.6856, allocations: 214 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.417, allocations: 0 / 1.025 GB, free: 9.707 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