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.001138/0.001138, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00138/0.00138, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9431/0.9431, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.706/1.706, allocations: 377.9 MB / 0.6228 GB, free: 8.637 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.984e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001689/0.001719, allocations: 1.317 MB / 0.9835 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006594/0.002378, allocations: 0.5372 MB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.002399, allocations: 0 / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.002418, allocations: 0 / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.002466, allocations: 7.922 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.002824, allocations: 103.4 kB / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.002885, allocations: 27.8 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.002921, allocations: 0 / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.002972, allocations: 11.98 kB / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.003012, allocations: 0 / 0.9841 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.003027, allocations: 4 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.003228, allocations: 139.7 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.003242, allocations: 4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.003259, allocations: 4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.003424, allocations: 103.7 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003426, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003427, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003431, allocations: 4 kB / 0.9844 GB, free: 15.82 MB / 0.948 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.0003068/0.003738, allocations: 274.1 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.003774, allocations: 8.031 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.004049, allocations: 28.89 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.004126, allocations: 113.7 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004138, allocations: 4.375 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.004148, allocations: 384 / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.004263, allocations: 50.22 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00427, allocations: 192 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.00428, allocations: 384 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004284, allocations: 4.375 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.004358, allocations: 27.91 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.00448, allocations: 105.3 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.004575, allocations: 50.52 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.004615, allocations: 16.91 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.004633, allocations: 0 / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.004651, allocations: 30.56 kB / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004652, allocations: 0 / 0.9851 GB, free: 15.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002012/0.004853, allocations: 73.66 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004883, allocations: 51.41 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.004942, allocations: 101.8 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.004952, allocations: 25.7 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.004976, allocations: 84.14 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.005001, allocations: 11.88 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.005031, allocations: 17.72 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.005105, allocations: 310.8 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.005145, allocations: 15.98 kB / 0.9857 GB, free: 14.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.005174, allocations: 12.11 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.005247, allocations: 32.84 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005249, allocations: 0 / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.005349, allocations: 65.59 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.005366, allocations: 11.38 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005372, allocations: 4 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.005382, allocations: 0 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.005449, allocations: 11.92 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005454, allocations: 0 / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.005481, allocations: 7.938 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005486, allocations: 0 / 0.9859 GB, free: 14.13 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.553e-05/0.005542, allocations: 105.8 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.005551, allocations: 11.95 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.005585, allocations: 7.312 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.005587, allocations: 3.984 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.005592, allocations: 0 / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005595, allocations: 3.938 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.021e-05/0.005655, allocations: 101.3 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005656, allocations: 0 / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.005688, allocations: 11.98 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.00569, allocations: 0 / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.005697, allocations: 0 / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.005699, allocations: 7.984 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.0057, allocations: 0 / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.005814, allocations: 92.92 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.005851, allocations: 12.11 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.005862, allocations: 0 / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.005885, allocations: 3.984 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.005899, allocations: 4 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005902, allocations: 0 / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.005928, allocations: 83.3 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005928, allocations: 4 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001446/0.006073, allocations: 11.94 kB / 0.9863 GB, free: 13.62 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.0001387/0.006211, allocations: 119.2 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.006334, allocations: 27.97 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006336, allocations: 0 / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.006366, allocations: 19.98 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.006538, allocations: 11.94 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.006807, allocations: 130.7 kB / 0.9866 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.006845, allocations: 59.36 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.006876, allocations: 16.48 kB / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.006877, allocations: 64 / 0.9867 GB, free: 13.18 MB / 0.948 GB Notification: Performance of Templates: time 0.001691/0.008567, allocations: 0.8075 MB / 0.9875 GB, free: 12.38 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] 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: 6.8282059552147985]