Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 119.7 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 69.84 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9085, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002694/0.9112, allocations: 1.426 MB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000512/0.9117, allocations: 223.7 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.9117, allocations: 0 / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.9118, allocations: 0.7969 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.9118, allocations: 5.312 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.9121, allocations: 29.08 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.9121, allocations: 28.86 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.9122, allocations: 3.047 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.027e-05/0.9123, allocations: 9.875 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.9123, allocations: 17.86 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.9123, allocations: 2.312 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.9124, allocations: 36.19 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.9125, allocations: 5.875 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.9125, allocations: 7.062 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.9126, allocations: 46.06 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9126, allocations: 4.797 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9126, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9126, allocations: 1.156 kB / 1.281 GB, free: 10.5 MB / 0.9981 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.0005206/0.9131, allocations: 341.8 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9132, allocations: 10.47 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/0.9132, allocations: 1.5 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.9132, allocations: 30.75 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.9134, allocations: 8.922 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.9135, allocations: 170 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.9135, allocations: 9.969 kB / 1.281 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9136, allocations: 1.406 kB / 1.281 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.9137, allocations: 57.91 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.9137, allocations: 0 / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.9138, allocations: 0 / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.9138, allocations: 0.9062 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.9139, allocations: 36.31 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.9143, allocations: 247.6 kB / 1.282 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.9144, allocations: 36.14 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.9145, allocations: 19.81 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.9145, allocations: 4.641 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.9146, allocations: 35.69 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9146, allocations: 0 / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003839/0.9149, allocations: 80.73 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.915, allocations: 52.16 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.9151, allocations: 105.8 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.9151, allocations: 25.83 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.9151, allocations: 85.98 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.9152, allocations: 14.31 kB / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.9152, allocations: 11.91 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9153, allocations: 312.6 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.9154, allocations: 17.8 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.9155, allocations: 22.5 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.9157, allocations: 45.58 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9157, allocations: 0 / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/0.9159, allocations: 63.81 kB / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9159, allocations: 5.125 kB / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9159, allocations: 1.859 kB / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9159, allocations: 0 / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.916, allocations: 17.78 kB / 1.283 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.916, allocations: 3.984 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.9161, allocations: 13.47 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.9161, allocations: 1.719 kB / 1.283 GB, free: 8.734 MB / 0.9981 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.397e-05/0.9161, allocations: 116.7 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.9162, allocations: 0.8438 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.9164, allocations: 78.41 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9164, allocations: 1.234 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9164, allocations: 0.5312 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9165, allocations: 0.5 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.9166, allocations: 161.3 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9166, allocations: 0.7031 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.9167, allocations: 10.03 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9167, allocations: 0.5312 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.9167, allocations: 5.266 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9167, allocations: 4.5 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9167, allocations: 0.5312 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.917, allocations: 170.3 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.9171, allocations: 83.02 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.9171, allocations: 5.391 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.9172, allocations: 5.469 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.9172, allocations: 7.375 kB / 1.283 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.9172, allocations: 1 kB / 1.283 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.9172, allocations: 84.55 kB / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9172, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002247/0.9175, allocations: 4.625 kB / 1.283 GB, free: 8.031 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0006255/0.9181, allocations: 0.7069 MB / 1.284 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.9183, allocations: 36.66 kB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9183, allocations: 0.5 kB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.9185, allocations: 25.58 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.9187, allocations: 5.234 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.9192, allocations: 158.1 kB / 1.284 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.9195, allocations: 0.6776 MB / 1.285 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.9196, allocations: 1 kB / 1.285 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.9196, allocations: 11.12 kB / 1.285 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9196, allocations: 0 / 1.285 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.9368, allocations: 1.426 MB / 1.286 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.504, allocations: 15.34 kB / 1.286 GB, free: 6.105 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.833686734025832]