Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.0008248/0.0008248, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008652/0.0008652, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8846/0.8846, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.555e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001983/0.002008, allocations: 1.297 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000653/0.002661, allocations: 0.5264 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.00268, allocations: 3.938 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.002698, allocations: 11.88 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.002741, allocations: 7.984 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.003066, allocations: 99.44 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.003123, allocations: 23.8 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.00316, allocations: 4 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.003203, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.003242, allocations: 7.984 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003254, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.00346, allocations: 139.7 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.003472, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.00349, allocations: 8 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.003649, allocations: 111.7 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003652, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/0.003654, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003657, allocations: 3.938 kB / 1.002 GB, free: 11.28 MB / 0.9636 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.0003094/0.003967, allocations: 270.1 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.004006, allocations: 8.75 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.004034, allocations: 34.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.004309, allocations: 36.89 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.156e-05/0.00438, allocations: 105.8 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.00439, allocations: 384 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.0044, allocations: 8.297 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004511, allocations: 50.22 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004517, allocations: 192 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004525, allocations: 384 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.00453, allocations: 4.125 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.004601, allocations: 23.98 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.004722, allocations: 132.8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.004808, allocations: 38.55 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.004848, allocations: 24.84 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004864, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.004881, allocations: 34.56 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.004882, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.005072, allocations: 73.61 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005099, allocations: 55.34 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.876e-05/0.005148, allocations: 93.86 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005158, allocations: 25.7 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.005181, allocations: 84.14 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.0052, allocations: 4.125 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.005235, allocations: 21.66 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.005301, allocations: 314.8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.00534, allocations: 19.86 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.00537, allocations: 19.92 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.005437, allocations: 24.84 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005438, allocations: 4.062 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.95e-05/0.005528, allocations: 57.67 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.005538, allocations: 4 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005544, allocations: 3.984 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005554, allocations: 0 / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.005617, allocations: 11.94 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005622, allocations: 0 / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.005649, allocations: 12.02 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.005656, allocations: 7.938 kB / 1.003 GB, free: 9.504 MB / 0.9636 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.885e-05/0.005705, allocations: 105.8 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-06/0.005711, allocations: 0 / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.005748, allocations: 7.312 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00575, allocations: 0 / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005755, allocations: 3.938 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.005758, allocations: 3.984 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.592e-05/0.005824, allocations: 124.8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005825, allocations: 4 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.005856, allocations: 7.984 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005857, allocations: 4 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.005864, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005866, allocations: 3.984 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.005868, allocations: 3.938 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.005972, allocations: 81.11 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.006006, allocations: 11.97 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.006016, allocations: 4 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.006038, allocations: 3.938 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.00605, allocations: 7.938 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.006054, allocations: 4 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.006078, allocations: 83.44 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006078, allocations: 0 / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001467/0.006225, allocations: 15.94 kB / 1.004 GB, free: 8.957 MB / 0.9636 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.0003307/0.006556, allocations: 0.628 MB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.006662, allocations: 35.84 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.006663, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.006697, allocations: 15.98 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.006858, allocations: 21.44 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.007174, allocations: 146.5 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.007212, allocations: 59.36 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.00725, allocations: 4 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.007284, allocations: 16.48 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.007285, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.02218, allocations: 2.273 MB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.927, allocations: 5.562 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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: 10.934297127649188]