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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 110.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.22/3.22, allocations: 489 MB / 0.7678 GB, free: 29.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002668/0.002668, allocations: 63.89 kB / 1.101 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8511, allocations: 163.8 MB / 1.261 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002633/0.8538, allocations: 1.292 MB / 1.262 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.855, allocations: 0.5686 MB / 1.263 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.855, allocations: 0 / 1.263 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.855, allocations: 0 / 1.263 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.8551, allocations: 7.938 kB / 1.263 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.8555, allocations: 91.56 kB / 1.263 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.8556, allocations: 23.86 kB / 1.263 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.8557, allocations: 4 kB / 1.263 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.8557, allocations: 11.88 kB / 1.263 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.8558, allocations: 7.984 kB / 1.263 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8558, allocations: 0 / 1.263 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.8561, allocations: 143.8 kB / 1.263 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.8562, allocations: 0 / 1.263 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.8562, allocations: 11.94 kB / 1.263 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.8564, allocations: 94.45 kB / 1.263 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8564, allocations: 0 / 1.263 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8564, allocations: 0 / 1.263 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.8565, allocations: 0 / 1.263 GB, free: 4.867 MB / 0.9669 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.0005117/0.857, allocations: 343.3 kB / 1.264 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.857, allocations: 12.03 kB / 1.264 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.8571, allocations: 34.69 kB / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.8575, allocations: 32.89 kB / 1.264 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.8576, allocations: 168.3 kB / 1.264 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.8576, allocations: 384 / 1.264 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.8577, allocations: 384 / 1.264 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.8578, allocations: 50.22 kB / 1.264 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8579, allocations: 3.938 kB / 1.264 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.8579, allocations: 4 kB / 1.264 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.8579, allocations: 0 / 1.264 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.858, allocations: 27.97 kB / 1.264 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.8582, allocations: 153.7 kB / 1.264 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.8584, allocations: 42.5 kB / 1.264 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.8585, allocations: 20.91 kB / 1.264 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8585, allocations: 0 / 1.264 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.8586, allocations: 34.56 kB / 1.264 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8586, allocations: 0 / 1.264 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003272/0.8589, allocations: 73.59 kB / 1.264 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.859, allocations: 55.53 kB / 1.264 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.8591, allocations: 105.8 kB / 1.264 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.8591, allocations: 25.7 kB / 1.264 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.8592, allocations: 80.14 kB / 1.264 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.8592, allocations: 11.89 kB / 1.264 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.8592, allocations: 17.7 kB / 1.264 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.8594, allocations: 314.8 kB / 1.265 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.8595, allocations: 15.98 kB / 1.265 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.8596, allocations: 11.98 kB / 1.265 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.8597, allocations: 28.84 kB / 1.265 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8597, allocations: 0 / 1.265 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.8599, allocations: 61.73 kB / 1.265 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8599, allocations: 7.938 kB / 1.265 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.86, allocations: 0 / 1.265 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.86, allocations: 3.938 kB / 1.265 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.8601, allocations: 7.984 kB / 1.265 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8601, allocations: 4 kB / 1.265 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.8602, allocations: 0 / 1.265 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.8602, allocations: 3.984 kB / 1.265 GB, free: 2.91 MB / 0.9669 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 0.0001131/0.8603, allocations: 113.9 kB / 1.265 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.8603, allocations: 7.938 kB / 1.265 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.8604, allocations: 3.312 kB / 1.265 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8604, allocations: 7.922 kB / 1.265 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8604, allocations: 4 kB / 1.265 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8604, allocations: 0 / 1.265 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.8606, allocations: 161.6 kB / 1.265 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8606, allocations: 0 / 1.265 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.8607, allocations: 11.98 kB / 1.265 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8607, allocations: 3.938 kB / 1.265 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.8607, allocations: 3.984 kB / 1.265 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8607, allocations: 0 / 1.265 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8607, allocations: 4 kB / 1.265 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.8609, allocations: 85.05 kB / 1.265 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.861, allocations: 85.09 kB / 1.265 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8611, allocations: 3.938 kB / 1.265 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.8611, allocations: 0 / 1.265 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.8612, allocations: 4 kB / 1.265 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.8612, allocations: 3.984 kB / 1.265 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.8612, allocations: 79.28 kB / 1.265 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8612, allocations: 7.938 kB / 1.265 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000209/0.8614, allocations: 11.94 kB / 1.265 GB, free: 2.223 MB / 0.9669 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.0006663/0.8621, allocations: 0.6319 MB / 1.266 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.8623, allocations: 35.94 kB / 1.266 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8624, allocations: 0 / 1.266 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.8624, allocations: 15.98 kB / 1.266 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.8627, allocations: 11.98 kB / 1.266 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.8632, allocations: 152.3 kB / 1.266 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.8635, allocations: 0.6729 MB / 1.267 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.8636, allocations: 7.938 kB / 1.267 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.8637, allocations: 15.42 kB / 1.267 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of SimCode: time 1.904e-06/0.8637, allocations: 0 / 1.267 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.8857, allocations: 1.571 MB / 1.269 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/9.041, allocations: 11.78 kB / 1.269 GB, free: 15.14 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.309980053920299]