Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008773/0.0008773, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008831/0.0008831, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8806/0.8806, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.146e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001799/0.001821, allocations: 1.309 MB / 0.9822 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.002526, allocations: 0.5334 MB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.002547, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.002566, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.002618, allocations: 11.91 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.002987, allocations: 91.45 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.00305, allocations: 27.86 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.003089, allocations: 0 / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.003139, allocations: 8 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.003183, allocations: 11.97 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.003197, allocations: 0 / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.003401, allocations: 139.7 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.003414, allocations: 4 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.003432, allocations: 8 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.003596, allocations: 111.5 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003599, allocations: 4 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0036, allocations: 0 / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003604, allocations: 0 / 0.9832 GB, free: 328 kB / 0.9323 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.0003027/0.003907, allocations: 262.2 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003945, allocations: 16.03 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.003987, allocations: 30.75 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.00426, allocations: 32.84 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.004335, allocations: 109.7 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.004346, allocations: 4.375 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004357, allocations: 4.375 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.004475, allocations: 50.22 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.004481, allocations: 192 / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00449, allocations: 4.375 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.004501, allocations: 4.125 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.004578, allocations: 23.92 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.004703, allocations: 128.7 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.004797, allocations: 46.58 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.004836, allocations: 16.91 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.004855, allocations: 3.984 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.004875, allocations: 38.56 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004876, allocations: 0 / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002059/0.005082, allocations: 73.69 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.005114, allocations: 63.28 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/0.005163, allocations: 93.86 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.005174, allocations: 25.7 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.005196, allocations: 80.14 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.00522, allocations: 7.953 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.00525, allocations: 17.7 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.005322, allocations: 310.8 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.005365, allocations: 15.98 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.005395, allocations: 12.02 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.005472, allocations: 32.84 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005474, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.831e-05/0.005572, allocations: 57.61 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005586, allocations: 8 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.005591, allocations: 8.078 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.005603, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.00567, allocations: 7.938 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005675, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.005704, allocations: 7.984 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005711, allocations: 0 / 0.9847 GB, free: 14.56 MB / 0.948 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 5.524e-05/0.005766, allocations: 109.8 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.005774, allocations: 7.953 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.00581, allocations: 7.312 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005812, allocations: 0 / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.005818, allocations: 3.938 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005821, allocations: 3.984 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.171e-05/0.005893, allocations: 124.8 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005894, allocations: 0 / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.005926, allocations: 11.92 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005928, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.005934, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005936, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.005939, allocations: 15.86 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.006055, allocations: 81.11 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.00609, allocations: 7.984 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.006101, allocations: 4 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.006124, allocations: 4 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.006136, allocations: 3.938 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.006139, allocations: 0 / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.634e-05/0.006166, allocations: 87.27 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006166, allocations: 7.969 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001516/0.006317, allocations: 11.94 kB / 0.9851 GB, free: 14.01 MB / 0.948 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.0003413/0.006658, allocations: 0.6285 MB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.006769, allocations: 32 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.006771, allocations: 0 / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.006801, allocations: 19.98 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.006972, allocations: 3.938 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.007308, allocations: 156.5 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.007347, allocations: 55.36 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.00739, allocations: 12.12 kB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.007428, allocations: 16.48 kB / 0.986 GB, free: 13.01 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.007428, allocations: 0 / 0.986 GB, free: 13.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02318, allocations: 2.278 MB / 0.9883 GB, free: 10.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.226, allocations: 16.5 kB / 0.9883 GB, free: 10.87 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.152298999018967]