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.001592/0.001592, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002361/0.002361, allocations: 215.7 kB / 22.25 MB, free: 5.262 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.319/3.319, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002432/0.002432, allocations: 67.73 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.423, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002804/0.4258, allocations: 1.302 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.4269, allocations: 0.5296 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.4269, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.4269, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.427, allocations: 11.92 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.4275, allocations: 95.56 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.4276, allocations: 19.88 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.4277, allocations: 8 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.4277, allocations: 7.984 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.4277, allocations: 7.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.4278, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.4281, allocations: 139.7 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.4281, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.4281, allocations: 8 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4283, allocations: 91.98 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4283, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4283, allocations: 4 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4283, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 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.0004322/0.4288, allocations: 274.1 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4288, allocations: 12.03 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.4289, allocations: 30.75 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004649/0.4293, allocations: 28.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.4295, allocations: 118.5 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4295, allocations: 8.375 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4295, allocations: 4.312 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4296, allocations: 42.23 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4297, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4297, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4297, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.4298, allocations: 23.97 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.43, allocations: 128.8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.4301, allocations: 42.56 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.4302, allocations: 20.84 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4302, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.4303, allocations: 34.56 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.4303, allocations: 3.984 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000313/0.4306, allocations: 77.59 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.4306, allocations: 55.34 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.4307, allocations: 97.84 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4307, allocations: 25.7 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.4308, allocations: 84.14 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.4308, allocations: 11.89 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.4309, allocations: 17.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.431, allocations: 310.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.4311, allocations: 24.05 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.4311, allocations: 11.98 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.4313, allocations: 32.84 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4313, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.4314, allocations: 57.73 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4314, allocations: 7.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4315, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4315, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4316, allocations: 7.984 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4316, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.4316, allocations: 7.938 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4316, allocations: 3.984 kB / 1.367 GB, free: 10.16 MB / 1.061 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 9.05e-05/0.4317, allocations: 110.9 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.4318, allocations: 19.86 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.4318, allocations: 3.312 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4318, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4318, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4318, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.4319, allocations: 124.8 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4319, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.432, allocations: 11.98 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.432, allocations: 7.938 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.432, allocations: 0 / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.432, allocations: 0 / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.432, allocations: 3.984 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4322, allocations: 85.09 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.4323, allocations: 4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.4323, allocations: 7.875 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.4324, allocations: 7.984 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.4324, allocations: 8.031 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4324, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.4324, allocations: 75.28 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4324, allocations: 7.938 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002111/0.4326, allocations: 15.92 kB / 1.368 GB, free: 9.602 MB / 1.061 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.0005797/0.4332, allocations: 0.6241 MB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.4334, allocations: 43.94 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4334, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.374e-05/0.4335, allocations: 11.98 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4338, allocations: 9.547 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.4343, allocations: 153.6 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.046e-05/0.4344, allocations: 63.33 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.805e-05/0.4344, allocations: 8 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.4345, allocations: 15.42 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4345, allocations: 0 / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.4629, allocations: 2.141 MB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.63, allocations: 3.938 kB / 1.371 GB, free: 6.594 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.656505708117038]