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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001786/0.001786, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6643 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5941, allocations: 140.4 MB / 0.949 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002045/0.5962, allocations: 1.349 MB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007164/0.5969, allocations: 0.584 MB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.5969, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.597, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.597, allocations: 9.297 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.5973, allocations: 71.09 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.5973, allocations: 33.41 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.5974, allocations: 5.375 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.5974, allocations: 4.125 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.5974, allocations: 6.75 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.5975, allocations: 1.375 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.5977, allocations: 152.3 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.5977, allocations: 9.234 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.5977, allocations: 4.312 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.5979, allocations: 89.31 kB / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5979, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5979, allocations: 0 / 0.9513 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5979, allocations: 1.5 kB / 0.9513 GB, free: 7.367 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.000262/0.5982, allocations: 352.8 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5982, allocations: 9.281 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.861e-05/0.5983, allocations: 34.75 kB / 0.9517 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.5987, allocations: 29.3 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.029e-05/0.5987, allocations: 165.6 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.5988, allocations: 384 / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.5988, allocations: 1.531 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5989, allocations: 53.97 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5989, allocations: 3.938 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5989, allocations: 1.219 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5989, allocations: 0 / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.5991, allocations: 23.62 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.5992, allocations: 162.5 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5993, allocations: 39.84 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.5994, allocations: 24.19 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5994, allocations: 0 / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.5994, allocations: 32.19 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.5994, allocations: 4 kB / 0.9522 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002765/0.5997, allocations: 80.22 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/0.5997, allocations: 53.22 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.197e-05/0.5998, allocations: 104.5 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.5998, allocations: 27.05 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/0.5998, allocations: 80.14 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.5998, allocations: 5.312 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.5999, allocations: 15.86 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.5999, allocations: 315.8 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.6, allocations: 10.42 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.6, allocations: 15.08 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.6001, allocations: 29.62 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6002, allocations: 1.375 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.6003, allocations: 66.08 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.6003, allocations: 9.812 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.6003, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.6004, allocations: 1.656 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.6004, allocations: 11.8 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6005, allocations: 1.031 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.6005, allocations: 2.406 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.6005, allocations: 3.984 kB / 0.953 GB, free: 5.574 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 4.082e-05/0.6006, allocations: 108.6 kB / 0.9531 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6006, allocations: 7.922 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.6006, allocations: 8.406 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6006, allocations: 5.219 kB / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.6006, allocations: 0 / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.6007, allocations: 0 / 0.9531 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.85e-05/0.6007, allocations: 158.5 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6007, allocations: 0 / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.6008, allocations: 9.328 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6008, allocations: 3.938 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.6008, allocations: 1.438 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6008, allocations: 11.92 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6008, allocations: 0 / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.601, allocations: 88.33 kB / 0.9534 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.601, allocations: 82.66 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6011, allocations: 5.5 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.6011, allocations: 1.375 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.6011, allocations: 1.281 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.6012, allocations: 4.031 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.759e-05/0.6012, allocations: 83.58 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6012, allocations: 0 / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001907/0.6014, allocations: 17.25 kB / 0.9536 GB, free: 4.945 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.0003494/0.6017, allocations: 0.6434 MB / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.6019, allocations: 27.69 kB / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6019, allocations: 1.375 kB / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.602, allocations: 15.52 kB / 0.9542 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.6022, allocations: 9.125 kB / 0.9542 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.6025, allocations: 155.4 kB / 0.9544 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.6026, allocations: 0.6723 MB / 0.955 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.6027, allocations: 15.19 kB / 0.9551 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.6027, allocations: 13.45 kB / 0.9551 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6028, allocations: 0 / 0.9551 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.6128, allocations: 1.415 MB / 0.9565 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.613, allocations: 231.3 kB / 0.9567 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.278, allocations: 1.438 kB / 0.9567 GB, free: 2.457 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