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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001343/0.001343, allocations: 191.6 kB / 16.13 MB, free: 6.691 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5608, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002629/0.5634, allocations: 1.354 MB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.5645, allocations: 0.5734 MB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.5645, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.5645, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.5646, allocations: 7.922 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.565, allocations: 83.7 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.565, allocations: 23.81 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.5651, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.5651, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.5652, allocations: 15.97 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.5652, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.5655, allocations: 143.7 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.5655, allocations: 7.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.5655, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.5657, allocations: 98.08 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5657, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5657, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5658, allocations: 4 kB / 1.019 GB, free: 488 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.0003843/0.5661, allocations: 347.4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5662, allocations: 8.031 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.5662, allocations: 30.75 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.5667, allocations: 36.84 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5668, allocations: 172.3 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.5669, allocations: 384 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.5669, allocations: 384 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.567, allocations: 46.23 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5671, allocations: 7.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5671, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.5671, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5672, allocations: 27.97 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.5674, allocations: 161.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.5676, allocations: 42.58 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.5677, allocations: 20.92 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5677, allocations: 3.984 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.5677, allocations: 30.56 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.5677, allocations: 7.922 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003208/0.568, allocations: 77.53 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.5681, allocations: 55.53 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.5682, allocations: 93.86 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.5682, allocations: 25.7 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.5682, allocations: 84.14 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.5683, allocations: 3.906 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.5683, allocations: 17.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5684, allocations: 310.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.5685, allocations: 19.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.5686, allocations: 15.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.5687, allocations: 24.84 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5687, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.5689, allocations: 61.67 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5689, allocations: 14.12 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5689, allocations: 3.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.569, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5691, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5691, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.5692, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5692, allocations: 0 / 1.021 GB, free: 14.51 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.5e-05/0.5693, allocations: 109.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5693, allocations: 7.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.5693, allocations: 3.125 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5693, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5694, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5694, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.5695, allocations: 157.7 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5695, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.5696, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5696, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5696, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5696, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5696, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.5698, allocations: 85.05 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.5699, allocations: 96.97 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.5699, allocations: 7.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.57, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.57, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.5701, allocations: 7.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.5701, allocations: 75.28 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5701, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002111/0.5703, allocations: 16 kB / 1.021 GB, free: 13.83 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.0005251/0.5708, allocations: 0.6396 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.571, allocations: 36 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.571, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.5711, allocations: 11.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5714, allocations: 12.55 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.5718, allocations: 162.1 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.5721, allocations: 0.6731 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.117e-05/0.5722, allocations: 11.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.5722, allocations: 11.44 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5723, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.5827, allocations: 1.415 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5829, allocations: 231.6 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.298, allocations: 1.875 kB / 1.024 GB, free: 10.65 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