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.001395/0.0014, 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.00149/0.00149, allocations: 193.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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.276/2.276, allocations: 390.3 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6016, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002022/0.6036, allocations: 1.283 MB / 0.951 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006937/0.6043, allocations: 0.569 MB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.6044, allocations: 0 / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.6044, allocations: 0 / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.6044, allocations: 13.31 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.6048, allocations: 91.55 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.6048, allocations: 21.75 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.6049, allocations: 5.172 kB / 0.9517 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.6049, allocations: 8.25 kB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.6049, allocations: 3.281 kB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.6049, allocations: 1.406 kB / 0.9517 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.6052, allocations: 145.7 kB / 0.9518 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.6052, allocations: 0 / 0.9518 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.6052, allocations: 8.031 kB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6054, allocations: 98.14 kB / 0.9519 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6054, allocations: 0 / 0.9519 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6054, allocations: 0 / 0.9519 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6054, allocations: 3.938 kB / 0.9519 GB, free: 7.559 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.0002626/0.6057, allocations: 349.7 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.6057, allocations: 8.938 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.138e-05/0.6057, allocations: 31.75 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.6062, allocations: 29.09 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.836e-05/0.6062, allocations: 169.2 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.6062, allocations: 1.438 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.6062, allocations: 1.438 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.6064, allocations: 45.3 kB / 0.9525 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.6064, allocations: 13.17 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.6064, allocations: 0 / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6064, allocations: 0 / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.6065, allocations: 31.75 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.6067, allocations: 158.5 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.6068, allocations: 40.55 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.6069, allocations: 23.66 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6069, allocations: 0 / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.6069, allocations: 31.88 kB / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6069, allocations: 0 / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000266/0.6072, allocations: 81.12 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.6072, allocations: 55.53 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.6073, allocations: 98.14 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.6073, allocations: 25.7 kB / 0.9531 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.6073, allocations: 81.3 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6073, allocations: 0 / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.6074, allocations: 21.61 kB / 0.9532 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.6074, allocations: 310.8 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.6075, allocations: 14.55 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.6075, allocations: 14.52 kB / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.6077, allocations: 30.28 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6077, allocations: 0 / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001549/0.6078, allocations: 71.55 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.6078, allocations: 8.875 kB / 0.9536 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6078, allocations: 1.594 kB / 0.9536 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.6079, allocations: 3.984 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.608, allocations: 4.125 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.608, allocations: 1.281 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.608, allocations: 5.359 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.608, allocations: 1.406 kB / 0.9536 GB, free: 5.773 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.359e-05/0.6081, allocations: 111.2 kB / 0.9537 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.6081, allocations: 5.469 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.6081, allocations: 8.469 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6082, allocations: 0 / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6082, allocations: 0 / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.6082, allocations: 1.469 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.166e-05/0.6082, allocations: 157.9 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6082, allocations: 0 / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.6083, allocations: 8.5 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6083, allocations: 13.52 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6083, allocations: 7.938 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6083, allocations: 0 / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6083, allocations: 1.312 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.6085, allocations: 79.17 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.6086, allocations: 86.25 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.6086, allocations: 5.188 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.6086, allocations: 2.75 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.6087, allocations: 3.984 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.6087, allocations: 1.688 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.692e-05/0.6087, allocations: 77.66 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6087, allocations: 0 / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001995/0.6089, allocations: 18.47 kB / 0.9542 GB, free: 5.152 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.0003495/0.6093, allocations: 0.6406 MB / 0.9548 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.6094, allocations: 31.25 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6094, allocations: 3.938 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.6095, allocations: 17.14 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.6097, allocations: 7.391 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.6101, allocations: 148.5 kB / 0.955 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.6102, allocations: 0.6802 MB / 0.9556 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.922e-05/0.6103, allocations: 15.7 kB / 0.9557 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.6103, allocations: 8.625 kB / 0.9557 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6103, allocations: 1.5 kB / 0.9557 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.6257, allocations: 1.559 MB / 0.9572 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.01, allocations: 6.344 kB / 0.9572 GB, free: 2.77 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