Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.001248/0.001247, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00127/0.00127, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5289, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001865/0.5308, allocations: 1.336 MB / 0.9505 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.5314, allocations: 0.5751 MB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.5315, allocations: 0 / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.5315, allocations: 5.203 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.5315, allocations: 5.312 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.5318, allocations: 82.78 kB / 0.9512 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.5319, allocations: 21.59 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.5319, allocations: 5.25 kB / 0.9512 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.869e-05/0.532, allocations: 7.781 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.532, allocations: 12.05 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.532, allocations: 0 / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.5322, allocations: 145.7 kB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.5323, allocations: 0 / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.5323, allocations: 7.906 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.5324, allocations: 94.19 kB / 0.9515 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5324, allocations: 0 / 0.9515 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5324, allocations: 1.156 kB / 0.9515 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5325, allocations: 3.938 kB / 0.9515 GB, free: 7.41 MB / 0.7169 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.000257/0.5327, allocations: 353.1 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5328, allocations: 13.64 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.5328, allocations: 30.75 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.5332, allocations: 24.88 kB / 0.9519 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.904e-05/0.5332, allocations: 166.1 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.5333, allocations: 384 / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.5333, allocations: 5.875 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5334, allocations: 53.38 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.5334, allocations: 5.406 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.5334, allocations: 0 / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5334, allocations: 0 / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5336, allocations: 24.22 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.5337, allocations: 161.2 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.5338, allocations: 45.03 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.5339, allocations: 15.92 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.5339, allocations: 0 / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.5339, allocations: 43.67 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.5339, allocations: 0 / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.5342, allocations: 73.61 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.5342, allocations: 55.39 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.141e-05/0.5342, allocations: 97.67 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.5343, allocations: 25.7 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/0.5343, allocations: 89.34 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5343, allocations: 1.062 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.5343, allocations: 24.11 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.5344, allocations: 312.4 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.5344, allocations: 10.8 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.5345, allocations: 13.2 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5346, allocations: 38.41 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5346, allocations: 0 / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001403/0.5348, allocations: 63.8 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5348, allocations: 8.469 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.5348, allocations: 1.219 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.5348, allocations: 0 / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.5349, allocations: 13.27 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5349, allocations: 0 / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.535, allocations: 2.375 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.535, allocations: 5.109 kB / 0.9532 GB, free: 5.613 MB / 0.7169 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 3.925e-05/0.535, allocations: 107 kB / 0.9533 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.535, allocations: 9.469 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.5351, allocations: 12.31 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5351, allocations: 0 / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5351, allocations: 5.438 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.5351, allocations: 0 / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.727e-05/0.5352, allocations: 154.2 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5352, allocations: 3.984 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.5352, allocations: 4.75 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5353, allocations: 3.938 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.5353, allocations: 5.391 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.5353, allocations: 0 / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5353, allocations: 5.406 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.5354, allocations: 79.14 kB / 0.9535 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.5355, allocations: 83.06 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.5355, allocations: 3.938 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.5356, allocations: 2.219 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.5356, allocations: 4.938 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.5356, allocations: 5.109 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.669e-05/0.5356, allocations: 77.47 kB / 0.9537 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.31e-07/0.5356, allocations: 1.031 kB / 0.9537 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001859/0.5358, allocations: 18.25 kB / 0.9537 GB, free: 4.996 MB / 0.7169 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.0003292/0.5361, allocations: 0.6397 MB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.5363, allocations: 31.84 kB / 0.9544 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5363, allocations: 3.938 kB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.5364, allocations: 24.92 kB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.5366, allocations: 7.359 kB / 0.9544 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.5369, allocations: 146.8 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.766e-05/0.537, allocations: 0.676 MB / 0.9552 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.129e-05/0.5371, allocations: 11.34 kB / 0.9552 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.5372, allocations: 13.61 kB / 0.9552 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5372, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.5473, allocations: 1.481 MB / 0.9567 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.5474, allocations: 224.8 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.257, allocations: 0 / 0.9569 GB, free: 2.48 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches